$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;
// these are the site_group codes as listed in the sites table
$wgWBRepoSettings['specialSiteLinkGroups'] = ['osm'];
+
+ // This option will start working in Wikibase v1.33 release. Noop until then.
+ // https://gerrit.wikimedia.org/r/#/c/mediawiki/extensions/Wikibase/+/469872/
+ $wgWBRepoSettings['enableEntitySearchUI'] = false;
+
} );
// Adapted from "$IP/extensions/Wikibase/client/ExampleSettings.php";
$wgWBClientSettings['namespaces'] = [ NS_MAIN ];
+// Avoid complaints that nobody seems to know the cause off...
+$wgWBClientSettings['entityUsagePerPageLimit'] = 500;
+
// no edit rights for anonymous users
$wgGroupPermissions['*']['item-term'] = false;
$wgGroupPermissions['*']['item-merge'] = false;
// 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
-$wgResourceModules['wikibase.ui.entitysearch']['scripts'] = [];