r114294 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r114293‎ | r114294 | r114295 >
Date:18:29, 20 March 2012
Author:preilly
Status:ok
Tags:
Comment:
1.19wmf: MFT r114293
Modified paths:
  • /branches/wmf/1.19wmf1/extensions/ZeroRatedMobileAccess/ZeroRatedMobileAccess.body.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.19wmf1/extensions/ZeroRatedMobileAccess/ZeroRatedMobileAccess.body.php
@@ -158,6 +158,9 @@
159159 }
160160 if ( self::$isMainPage ) {
161161 $redirect = SpecialPage::getTitleFor( 'ZeroRatedMobileAccess' )->getLocalUrl();
 162+ if ( stristr( self::$carrier, 'DIGI' ) !== FALSE ) {
 163+ $redirect = 'http://en.zero.wikipedia.org/wiki/Special:ZeroRatedMobileAccess';
 164+ }
162165 $wgRequest->response()->header( 'Location: ' . $redirect );
163166 }
164167 $html = $out->getHTML();

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r114293redirect to english version of zero for language landing page for only certai...preilly18:29, 20 March 2012

Status & tagging log