jenkins-bot has submitted this change and it was merged.

Change subject: Add infrastructure for $wmgEchoUseCrossWikiTrackingTable and 
enable it on testwiki and test2wiki
......................................................................


Add infrastructure for $wmgEchoUseCrossWikiTrackingTable and enable it on 
testwiki and test2wiki

Change-Id: I3c436c01a1ae6074c57ca167f829cd4ef76427ed
---
M wmf-config/CommonSettings.php
M wmf-config/InitialiseSettings.php
2 files changed, 12 insertions(+), 0 deletions(-)

Approvals:
  Legoktm: Looks good to me, but someone else must approve
  Catrope: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php
index 333a772..9670f26 100644
--- a/wmf-config/CommonSettings.php
+++ b/wmf-config/CommonSettings.php
@@ -2468,6 +2468,12 @@
 
        // Whether to use job queue to process web and email notifications
        $wgEchoUseJobQueue = $wmgEchoUseJobQueue;
+
+       if ( $wmgEchoUseCrossWikiTrackingTable ) {
+               $wgEchoSharedTrackingDB = 'wikishared';
+               // Explicitly set this to 'extension1', because some wikis have 
$wgEchoCluster set to false
+               $wgEchoSharedTrackingCluster = 'extension1';
+       }
 }
 
 if ( $wmgUseThanks ) {
diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index 16a57c4..2d9da52 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -14801,6 +14801,12 @@
        'mediawikiwiki' => true,
 ),
 
+'wmgEchoUseCrossWikiTrackingTable' => array(
+       'default' => false,
+       'testwiki' => true,
+       'test2wiki' => true,
+),
+
 // Thanks should be enabled for wikis with Echo
 'wmgUseThanks' => array(
        'default' => true,

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I3c436c01a1ae6074c57ca167f829cd4ef76427ed
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Catrope <[email protected]>
Gerrit-Reviewer: Catrope <[email protected]>
Gerrit-Reviewer: Chad <[email protected]>
Gerrit-Reviewer: Florianschmidtwelzow <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to