Henning Snater has uploaded a new change for review. https://gerrit.wikimedia.org/r/74141
Change subject: (hotfix) Fixed use of $wgDBname in the example settings ...................................................................... (hotfix) Fixed use of $wgDBname in the example settings Change-Id: I81ac251e9c4e005cfa4706ef10d3e1b629fadcb4 --- M repo/config/Wikibase.example.php 1 file changed, 3 insertions(+), 3 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase refs/changes/41/74141/1 diff --git a/repo/config/Wikibase.example.php b/repo/config/Wikibase.example.php index 523f065..dae4b53 100644 --- a/repo/config/Wikibase.example.php +++ b/repo/config/Wikibase.example.php @@ -36,7 +36,7 @@ call_user_func( function() { global $wgContentHandlerUseDB, $wgExtraNamespaces, $wgWBRepoSettings; - global $wgNamespacesToBeSearchedDefault, $wgGroupPermissions; + global $wgDBname, $wgNamespacesToBeSearchedDefault, $wgGroupPermissions; $wgContentHandlerUseDB = true; @@ -58,8 +58,8 @@ $wgWBRepoSettings['entityNamespaces'][CONTENT_MODEL_WIKIBASE_ITEM] = WB_NS_ITEM; $wgWBRepoSettings['entityNamespaces'][CONTENT_MODEL_WIKIBASE_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/' . WBL_VERSION; + // Make sure we use the same keys on repo and clients, so we can share cached objects. + $wgWBRepoSettings['sharedCacheKeyPrefix'] = $wgDBname . ':WBL/' . WBL_VERSION; // NOTE: no need to set up $wgNamespaceContentModels, Wikibase will do that automatically based on $wgWBRepoSettings -- To view, visit https://gerrit.wikimedia.org/r/74141 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I81ac251e9c4e005cfa4706ef10d3e1b629fadcb4 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Wikibase Gerrit-Branch: master Gerrit-Owner: Henning Snater <henning.sna...@wikimedia.de> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits