X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/16bd6e5fa3754e0a656790368459aab3ecca9368..eecaf26698348adf3d3b64ea680ad82f959a5ae4:/cookbooks/wiki/templates/default/mw-ext-Wikibase.inc.php.erb 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..da194cad7 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; @@ -91,8 +91,3 @@ $wgGroupPermissions['data-admin']['property-create'] = true; // See https://www.mediawiki.org/wiki/Wikibase/Installation/Advanced_configuration#Define_links_for_external_identifiers $wgWBRepoSettings['formatterUrlProperty'] = 'P8'; - -// Disable Wikibase searchbox with this hack (hopefully Wikibase will implement support for it soon) -// See https://phabricator.wikimedia.org/T205560 -// After upgrading to Wikibase 1.33, this line can be deleted. The 'enableEntitySearchUI' above will do the same thing. -$wgResourceModules['wikibase.ui.entitysearch']['scripts'] = [];