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

Change subject: Revert "Only set remote config if wiki isn't Zero"
......................................................................


Revert "Only set remote config if wiki isn't Zero"

This reverts commit cfa8aefa9b684e60513b65984d1ea121bbcc3a61.

Change-Id: I87475a87786f84a206e8d6eccd43b726ede09085
---
M wmf-config/mobile.php
1 file changed, 6 insertions(+), 8 deletions(-)

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



diff --git a/wmf-config/mobile.php b/wmf-config/mobile.php
index 39484d9..7a84ddd 100644
--- a/wmf-config/mobile.php
+++ b/wmf-config/mobile.php
@@ -34,14 +34,12 @@
                require_once( "$IP/extensions/JsonConfig/JsonConfig.php" );
                require_once( "$IP/extensions/ZeroBanner/ZeroBanner.php" );
 
-               if ( $wgDBname !== 'zerowiki' ) {
-                       $wgJsonConfigs['JsonZeroConfig']['isLocal'] = false;
-                       $wgJsonConfigs['JsonZeroConfig']['remote'] = [
-                               'url' => 'https://zero.wikimedia.org/w/api.php',
-                               'username' => $wmgZeroPortalApiUserName,
-                               'password' => $wmgZeroPortalApiPassword,
-                       ];
-               }
+               $wgJsonConfigs['JsonZeroConfig']['isLocal'] = false;
+               $wgJsonConfigs['JsonZeroConfig']['remote'] = [
+                       'url' => 'https://zero.wikimedia.org/w/api.php',
+                       'username' => $wmgZeroPortalApiUserName,
+                       'password' => $wmgZeroPortalApiPassword,
+               ];
 
                // @TODO: which group(s) on all wikies should Zero allow to 
flush cache?
                $wgGroupPermissions['sysop']['jsonconfig-flush'] = true;

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I87475a87786f84a206e8d6eccd43b726ede09085
Gerrit-PatchSet: 2
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Reedy <re...@wikimedia.org>
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

Reply via email to