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

Change subject: Appending 'wiki/Main_Page' to home page links currently 
pointing to http://[LANG_CODE].(zero|m).wikipedia.org/. Currently, users 
accessing http://[LANG_CODE].zero.wikipedia.org/ are incorrectly being 
redirected to http://[LANG_CODE].m.wikipedia.org/ witho
......................................................................


Appending 'wiki/Main_Page' to home page links currently pointing to 
http://[LANG_CODE].(zero|m).wikipedia.org/.
Currently, users accessing http://[LANG_CODE].zero.wikipedia.org/ are 
incorrectly being redirected to
http://[LANG_CODE].m.wikipedia.org/ without warning. This corrects this 
behavior.

Change-Id: Iebb256f59b3066fd52be5b848469a6c594b06793
---
M ZeroRatedMobileAccess.body.php
1 file changed, 1 insertion(+), 1 deletion(-)

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



diff --git a/ZeroRatedMobileAccess.body.php b/ZeroRatedMobileAccess.body.php
index 746a4ae..2d415b9 100644
--- a/ZeroRatedMobileAccess.body.php
+++ b/ZeroRatedMobileAccess.body.php
@@ -27,7 +27,7 @@
 class ExtZeroRatedMobileAccess {
        public static $renderZeroRatedLandingPage;
        public static $renderZeroRatedBanner;
-       private static $formatMobileUrl = '//%s.zero.wikipedia.org/';
+       private static $formatMobileUrl = 
'//%s.zero.wikipedia.org/wiki/Main_Page';
 
        /**
         * @var Title

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Iebb256f59b3066fd52be5b848469a6c594b06793
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/ZeroRatedMobileAccess
Gerrit-Branch: production
Gerrit-Owner: Dr0ptp4kt <[email protected]>
Gerrit-Reviewer: Dfoy <[email protected]>
Gerrit-Reviewer: Dr0ptp4kt <[email protected]>
Gerrit-Reviewer: Yurik <[email protected]>
Gerrit-Reviewer: jenkins-bot

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

Reply via email to