Index: trunk/extensions/FlaggedRevs/specialpages/StableVersions_body.php |
— | — | @@ -41,7 +41,8 @@ |
42 | 42 | return; |
43 | 43 | } |
44 | 44 | $pager = new StableRevisionsPager( $this, array(), $this->page ); |
45 | | - if( $num = $pager->getNumRows() ) { |
| 45 | + $num = $pager->getNumRows(); |
| 46 | + if( $num ) { |
46 | 47 | $wgOut->addHTML( wfMsgExt('stableversions-list', array('parse'), |
47 | 48 | $this->page->getPrefixedText(), $num ) ); |
48 | 49 | $wgOut->addHTML( $pager->getNavigationBar() ); |
Index: trunk/extensions/FlaggedRevs/specialpages/ReviewedPages_body.php |
— | — | @@ -61,7 +61,8 @@ |
62 | 62 | global $wgOut, $wgUser, $wgLang; |
63 | 63 | |
64 | 64 | $pager = new ReviewedPagesPager( $this, array(), $this->type, $this->namespace, $this->hideRedirs ); |
65 | | - if( $num = $pager->getNumRows() ) { |
| 65 | + $num = $pager->getNumRows(); |
| 66 | + if( $num ) { |
66 | 67 | $wgOut->addHTML( wfMsgExt('reviewedpages-list', array('parse'), $num ) ); |
67 | 68 | $wgOut->addHTML( $pager->getNavigationBar() ); |
68 | 69 | $wgOut->addHTML( $pager->getBody() ); |