r113374 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r113373‎ | r113374 | r113375 >
Date:18:22, 8 March 2012
Author:preilly
Status:resolved (Comments)
Tags:
Comment:
render zero rated landing page
Modified paths:
  • /trunk/extensions/ZeroRatedMobileAccess/ZeroRatedMobileAccess.body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ZeroRatedMobileAccess/ZeroRatedMobileAccess.body.php
@@ -128,7 +128,7 @@
129129 $output .= $banner;
130130 }
131131 }
132 - if ( self::$renderZeroRatedLandingPage === true ) {
 132+ if ( $out->getPageTitle() === 'MediaWiki:ZeroRated' ) {
133133 $out->clearHTML();
134134 $out->setPageTitle( null );
135135 $output .= wfMsg( 'zero-rated-mobile-access-desc' );

Follow-up revisions

RevisionCommit summaryAuthorDate
r113379render zero rated landing pagepreilly18:50, 8 March 2012

Comments

#Comment by MaxSem (talk | contribs)   18:47, 8 March 2012

Shouldn't it be somewhere like Special:ZeroRated instead?

#Comment by Preilly (talk | contribs)   18:50, 8 March 2012

This is now fixed in: r113379.

Status & tagging log