r114654 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r114653‎ | r114654 | r114655 >
Date:16:43, 2 April 2012
Author:preilly
Status:deferred
Tags:
Comment:
1.19wmf: MFG Change-Id: I8eea04193a9fa3c7361e3124981bf55704988030
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
@@ -161,17 +161,6 @@
162162 } else {
163163 $wgRequest->response()->header( 'X-Images: yes' );
164164 }
165 - if ( self::$isMainPage ) {
166 - if ( $lang === 'ms' ) {
167 - $redirect = SpecialPage::getTitleFor( 'ZeroRatedMobileAccess' )->getLocalUrl();
168 - if ( isset( self::$carrier['name'] ) && stristr( self::$carrier['name'], 'DIGI' ) !== FALSE ) {
169 - $redirect = 'http://en.zero.wikipedia.org/wiki/Special:ZeroRatedMobileAccess';
170 - }
171 - $wgRequest->response()->header( 'Location: ' . $redirect );
172 - wfProfileOut( __METHOD__ );
173 - return true;
174 - }
175 - }
176165 $html = $out->getHTML();
177166 $parsedHtml = $this->parseLinksForZeroQueryString( $html );
178167 $out->clearHTML();

Status & tagging log