[MediaWiki-commits] [Gerrit] operations/mediawiki-config[master]: Zero: Make remote config explicit

2016-09-21 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged.

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(-)

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



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: merged
Gerrit-Change-Id: I547be0a11d044c23100083224f625b2a3ea0484b
Gerrit-PatchSet: 2
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Phuedx 
Gerrit-Reviewer: Florianschmidtwelzow 
Gerrit-Reviewer: Hashar 
Gerrit-Reviewer: Yurik 
Gerrit-Reviewer: jenkins-bot <>

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


[MediaWiki-commits] [Gerrit] operations/mediawiki-config[master]: Zero: Make remote config explicit

2016-09-19 Thread Phuedx (Code Review)
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 

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