r68549 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r68548‎ | r68549 | r68550 >
Date:03:31, 25 June 2010
Author:demon
Status:deferred
Tags:
Comment:
Folowup r68548, spacing and rm leftover test for all namespaces
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php
@@ -698,7 +698,7 @@
699699
700700 if( $ns !== '' ) {
701701 $ns = intval( $ns );
702 - if( !in_array( $ns , $nsList ) ) {
 702+ if( !in_array( $ns, $nsList ) ) {
703703 return 0;
704704 }
705705 }
@@ -715,7 +715,7 @@
716716 $nsList[ 'all' ] = $totalCount;
717717 }
718718
719 - if( $ns === '' || $ns === '*' ) {
 719+ if( $ns === '' ) {
720720 return $nsList['all'];
721721 } else {
722722 return $nsList[ "ns-$ns" ];

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r68548(bug 23903) Add parserfunc for number of pages using pending changes. {{#page...demon03:29, 25 June 2010

Status & tagging log