Hoo man has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/150187

Change subject: Configure testwikidata to use the "special" site link group
......................................................................

Configure testwikidata to use the "special" site link group

Change-Id: I5bf5c77162480497dafabd16941e7a2b51d2e4ba
---
M wmf-config/Wikibase.php
1 file changed, 4 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/87/150187/1

diff --git a/wmf-config/Wikibase.php b/wmf-config/Wikibase.php
index db607d9..5d6bacb 100644
--- a/wmf-config/Wikibase.php
+++ b/wmf-config/Wikibase.php
@@ -42,12 +42,13 @@
                'wikiquote',
                'wikisource',
                'wikivoyage',
-               'commons'
        );
 
-       if ( $wgDBname === 'testwikidatawiki' ) {
-               $wgWBRepoSettings['siteLinkGroups'][] = 'testwikidata';
+       if ( $wgDBname !== 'testwikidatawiki' ) {
+               $wgWBRepoSettings['siteLinkGroups'][] = 'commons';
+       } else {
                $wgWBRepoSettings['specialSiteLinkGroups'][] = 'testwikidata';
+               $wgWBRepoSettings['siteLinkGroups'][] = 'special';
        }
 
        if ( $wgDBname === 'testwikidatawiki' ) {

-- 
To view, visit https://gerrit.wikimedia.org/r/150187
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5bf5c77162480497dafabd16941e7a2b51d2e4ba
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Hoo man <h...@online.de>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to