r61445 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r61444‎ | r61445 | r61446 >
Date:22:58, 23 January 2010
Author:reedy
Status:ok (Comments)
Tags:
Comment:
Properly fix r61436/r61442
Modified paths:
  • /trunk/phase3/includes/api/ApiQueryAllpages.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiQueryAllpages.php
@@ -58,9 +58,9 @@
5959 // Page filters
6060 $this->addTables( 'page' );
6161
62 - if ( $this->params['filterredir'] === 'redirects' )
 62+ if ( params['filterredir'] == 'redirects' )
6363 $this->addWhereFld( 'page_is_redirect', 1 );
64 - else if ( $this->params['filterredir'] === 'nonredirects' )
 64+ else if ( params['filterredir'] == 'nonredirects' )
6565 $this->addWhereFld( 'page_is_redirect', 0 );
6666
6767 $this->addWhereFld( 'page_namespace', $params['namespace'] );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r61436Normalise check for filterredir in Allpages to that of backlinks...reedy21:28, 23 January 2010
r61442More of r61437 (adding/removing whitespace)reedy22:47, 23 January 2010

Comments

#Comment by Catrope (talk | contribs)   00:05, 24 January 2010

Was fixed in r61446

Status & tagging log