jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/208655 )

Change subject: Update Wikibase site id and group for test2wiki and testwiki
......................................................................


Update Wikibase site id and group for test2wiki and testwiki

Use the "default" for site id, which is $wgDBname and
put testwiki and test2wiki in the special sites group
so we can add links to them from test wikidata.

Also remove the disabling of propagate moves/deletions to repo.

The repo is test.wikidata (repoDatabase and changesDatabase settings)
for test.wikipedia and test2.wikipedia.

Bug: T94416
Change-Id: I18df3171ba204cb584ebcc895396dc14064ba4e0
---
M wmf-config/InitialiseSettings.php
M wmf-config/Wikibase.php
2 files changed, 2 insertions(+), 7 deletions(-)

Approvals:
  Hoo man: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index 67fc0da..f327232 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -17239,13 +17239,6 @@
        // here does not work the same way. Instead, put defaults in 
Wikibase.php
        'default' => [
        ],
-       'testwiki' => [
-               'siteGlobalID' => 'enwiki',
-               'propagateChangesToRepo' => false,
-       ],
-       'test2wiki' => [
-               'siteGlobalID' => 'enwiki'
-       ],
 ],
 
 'wmgUseWikibaseQuality' => [
diff --git a/wmf-config/Wikibase.php b/wmf-config/Wikibase.php
index 527c688..fe2062b 100644
--- a/wmf-config/Wikibase.php
+++ b/wmf-config/Wikibase.php
@@ -57,6 +57,8 @@
 
 if ( in_array( $wgDBname, [ 'test2wiki', 'testwiki', 'testwikidatawiki' ] ) ) {
        $wgWBSharedSettings['specialSiteLinkGroups'][] = 'testwikidata';
+       $wgWBSharedSettings['specialSiteLinkGroups'][] = 'testwiki';
+       $wgWBSharedSettings['specialSiteLinkGroups'][] = 'test2wiki';
 } else {
        $wgWBSharedSettings['specialSiteLinkGroups'][] = 'wikidata';
 }

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I18df3171ba204cb584ebcc895396dc14064ba4e0
Gerrit-PatchSet: 4
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Aude <[email protected]>
Gerrit-Reviewer: Alex Monk <[email protected]>
Gerrit-Reviewer: Aude <[email protected]>
Gerrit-Reviewer: Hoo man <[email protected]>
Gerrit-Reviewer: Ladsgroup <[email protected]>
Gerrit-Reviewer: Lydia Pintscher <[email protected]>
Gerrit-Reviewer: Thiemo Mättig (WMDE) <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to