Index: branches/wmf/1.19wmf1/extensions/ZeroRatedMobileAccess/ZeroRatedMobileAccess.body.php |
— | — | @@ -161,17 +161,6 @@ |
162 | 162 | } else { |
163 | 163 | $wgRequest->response()->header( 'X-Images: yes' ); |
164 | 164 | } |
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 | | - } |
176 | 165 | $html = $out->getHTML(); |
177 | 166 | $parsedHtml = $this->parseLinksForZeroQueryString( $html ); |
178 | 167 | $out->clearHTML(); |