From: Tom Hughes Date: Mon, 2 Nov 2020 10:25:42 +0000 (+0000) Subject: Remove WBL_VERSION from wikibase cache key prefix X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/bf62d713fcd6cfb0dbeb1ae3ce347d4df96743f7?ds=sidebyside Remove WBL_VERSION from wikibase cache key prefix --- diff --git a/cookbooks/wiki/templates/default/mw-ext-Wikibase.inc.php.erb b/cookbooks/wiki/templates/default/mw-ext-Wikibase.inc.php.erb index 6bbede43f..ff82b0ccb 100644 --- a/cookbooks/wiki/templates/default/mw-ext-Wikibase.inc.php.erb +++ b/cookbooks/wiki/templates/default/mw-ext-Wikibase.inc.php.erb @@ -38,7 +38,7 @@ call_user_func( function() { $wgWBRepoSettings['entityNamespaces']['property'] = WB_NS_PROPERTY; // Make sure we use the same keys on repo and clients, so we can share cached objects. - $wgWBRepoSettings['sharedCacheKeyPrefix'] = $wgDBname . ':WBL/' . rawurlencode( WBL_VERSION ); + $wgWBRepoSettings['sharedCacheKeyPrefix'] = $wgDBname; // Include Wikibase items in the regular search result by default $wgNamespacesToBeSearchedDefault[WB_NS_ITEM] = true;