r51150 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r51149‎ | r51150 | r51151 >
Date:10:35, 29 May 2009
Author:purodha
Status:ok
Tags:
Comment:
(r50259) Coding style changed as requested by Tim Starling at
http://www.mediawiki.org/wiki/Special:Code/MediaWiki/50259#c2649
Modified paths:
  • /trunk/extensions/FlaggedRevs/specialpages/ReviewedPages_body.php (modified) (history)
  • /trunk/extensions/FlaggedRevs/specialpages/StableVersions_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/specialpages/StableVersions_body.php
@@ -41,7 +41,8 @@
4242 return;
4343 }
4444 $pager = new StableRevisionsPager( $this, array(), $this->page );
45 - if( $num = $pager->getNumRows() ) {
 45+ $num = $pager->getNumRows();
 46+ if( $num ) {
4647 $wgOut->addHTML( wfMsgExt('stableversions-list', array('parse'),
4748 $this->page->getPrefixedText(), $num ) );
4849 $wgOut->addHTML( $pager->getNavigationBar() );
Index: trunk/extensions/FlaggedRevs/specialpages/ReviewedPages_body.php
@@ -61,7 +61,8 @@
6262 global $wgOut, $wgUser, $wgLang;
6363
6464 $pager = new ReviewedPagesPager( $this, array(), $this->type, $this->namespace, $this->hideRedirs );
65 - if( $num = $pager->getNumRows() ) {
 65+ $num = $pager->getNumRows();
 66+ if( $num ) {
6667 $wgOut->addHTML( wfMsgExt('reviewedpages-list', array('parse'), $num ) );
6768 $wgOut->addHTML( $pager->getNavigationBar() );
6869 $wgOut->addHTML( $pager->getBody() );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r50259Internationalisation: three messages needing PLURAL, per requests in...purodha12:02, 6 May 2009

Status & tagging log