Phuedx has uploaded a new change for review.

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

Change subject: Zero: Make remote config explicit
......................................................................

Zero: Make remote config explicit

I58ec98e4 makes the ZeroBanner config both parsable by JsonConfig and
local to the wiki. However, the production config relies on this config
being production-ready by default, which won't be the case once
I58ec98e4 is merged.

Update the Zero config to make explicit that the config is to be stored
remotely.

Bug: T145227
Change-Id: I547be0a11d044c23100083224f625b2a3ea0484b
---
M wmf-config/mobile.php
1 file changed, 1 insertion(+), 0 deletions(-)


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

diff --git a/wmf-config/mobile.php b/wmf-config/mobile.php
index 7509caa..0bfffc4 100644
--- a/wmf-config/mobile.php
+++ b/wmf-config/mobile.php
@@ -36,6 +36,7 @@
                require_once( "$IP/extensions/JsonConfig/JsonConfig.php" );
                require_once( "$IP/extensions/ZeroBanner/ZeroBanner.php" );
 
+               $wgJsonConfigs['JsonZeroConfig']['isLocal'] = false;
                $wgJsonConfigs['JsonZeroConfig']['remote'] = [
                        'url' => 'https://zero.wikimedia.org/w/api.php',
                        'username' => $wmgZeroPortalApiUserName,

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I547be0a11d044c23100083224f625b2a3ea0484b
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Phuedx <g...@samsmith.io>

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

Reply via email to