jenkins-bot has submitted this change and it was merged. Change subject: Add client settings needed for the other projects beta feature ......................................................................
Add client settings needed for the other projects beta feature No-op with the currently deployed Wikibase version, but will get relevant once I07abcbafbd1 goes out. Change-Id: Id3d93f44953b34b317318e0b319a42462129e95b --- M wmf-config/Wikibase.php 1 file changed, 9 insertions(+), 1 deletion(-) Approvals: Hoo man: Looks good to me, approved Daniel Kinzler: Looks good to me, but someone else must approve jenkins-bot: Verified diff --git a/wmf-config/Wikibase.php b/wmf-config/Wikibase.php index 5d6bacb..13dd2bc 100644 --- a/wmf-config/Wikibase.php +++ b/wmf-config/Wikibase.php @@ -99,14 +99,22 @@ 'wikibase-property' => 'Property' ); + $wgWBClientSettings['specialSiteLinkGroups'] = array( 'commons' ); + $wgWBClientSettings['siteLinkGroups'] = array( 'wikipedia', 'wikiquote', 'wikisource', 'wikivoyage', - 'commons' ); + if ( $wgDBname !== 'testwikidatawiki' ) { + $wgWBClientSettings['siteLinkGroups'][] = 'commons'; + } else { + $wgWBClientSettings['specialSiteLinkGroups'][] = 'testwikidata'; + $wgWBClientSettings['siteLinkGroups'][] = 'special'; + } + $wgWBClientSettings['sharedCacheDuration'] = 60 * 60 * 24; if ( $wgDBname === 'commonswiki' ) { -- To view, visit https://gerrit.wikimedia.org/r/149031 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Id3d93f44953b34b317318e0b319a42462129e95b Gerrit-PatchSet: 4 Gerrit-Project: operations/mediawiki-config Gerrit-Branch: master Gerrit-Owner: Hoo man <h...@online.de> Gerrit-Reviewer: Aude <aude.w...@gmail.com> Gerrit-Reviewer: Daniel Kinzler <daniel.kinz...@wikimedia.de> Gerrit-Reviewer: Hoo man <h...@online.de> Gerrit-Reviewer: Reedy <re...@wikimedia.org> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits