r114299 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r114298‎ | r114299 | r114300 >
Date:19:39, 20 March 2012
Author:preilly
Status:ok
Tags:
Comment:
no need to process the request after the redirect
Modified paths:
  • /trunk/extensions/ZeroRatedMobileAccess/ZeroRatedMobileAccess.body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ZeroRatedMobileAccess/ZeroRatedMobileAccess.body.php
@@ -162,6 +162,8 @@
163163 $redirect = 'http://en.zero.wikipedia.org/wiki/Special:ZeroRatedMobileAccess';
164164 }
165165 $wgRequest->response()->header( 'Location: ' . $redirect );
 166+ wfProfileOut( __METHOD__ );
 167+ return true;
166168 }
167169 $html = $out->getHTML();
168170 $parsedHtml = $this->parseLinksForZeroQueryString( $html );

Sign-offs

UserFlagDate
Nikerabbitinspected14:16, 21 March 2012

Follow-up revisions

RevisionCommit summaryAuthorDate
r1143001.19wmf: MFT r114299preilly19:39, 20 March 2012

Status & tagging log