diff --git a/Wikibase.php b/Wikibase.php index 341631ee..bf7305e6 100644 --- a/Wikibase.php +++ b/Wikibase.php @@ -1,46 +1,46 @@ dbname . ':WBL/' . rawurlencode( WBL_VERSION ); +$wgWBRepoSettings['sharedCacheKeyPrefix'] = $wi->dbname . ':WBL/' . rawurlencode( $wgVersion ); $wgWBRepoSettings['allowEntityImport'] = false; $wgWBRepoSettings['enableEntitySearchUI'] = $wmgEnableEntitySearchUI; $wgWBRepoSettings['siteLinkGroups'] = [ 'miraheze' ]; $wgWBRepoSettings['specialSiteLinkGroups'] = []; $wgWBClientSettings['repoUrl'] = $wmgWikibaseRepoUrl; $wgWBClientSettings['repoDatabase'] = $wmgWikibaseRepoDatabase; $wgWBClientSettings['changesDatabase'] = $wmgWikibaseRepoDatabase; $wgWBClientSettings['repositories'] = [ '' => [ 'repoDatabase' => $wmgWikibaseRepoDatabase, 'baseUri' => $wmgWikibaseRepoUrl . '/entity/', 'entityNamespaces' => [ 'item' => $wmgWikibaseItemNamespaceID, 'property' => $wmgWikibasePropertyNamespaceID ], 'prefixMapping' => [ '' => '' ] ] ]; $wgWBClientSettings['siteGlobalID'] = $wi->dbname; $wgWBClientSettings['repoScriptPath'] = '/w'; $wgWBClientSettings['repoArticlePath'] = '/wiki/$1'; $wgWBClientSettings['siteGroup'] = 'miraheze'; $wgWBClientSettings['repoNamespaces'] = [ 'wikibase-item' => 'Item', 'wikibase-property' => 'Property' ]; $wgWBClientSettings['siteLinksGroups'] = [ 'miraheze' ]; $wgWBClientSettings['purgeCacheBatchSize'] = 100; $wgWBClientSettings['recentChangesBatchSize'] = 100;