r61446 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r61445‎ | r61446 | r61447 >
Date:23:10, 23 January 2010
Author:reedy
Status:ok
Tags:
Comment:
Less fail for 61445
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 ( params['filterredir'] == 'redirects' )
 62+ if ( $params['filterredir'] == 'redirects' )
6363 $this->addWhereFld( 'page_is_redirect', 1 );
64 - else if ( params['filterredir'] == 'nonredirects' )
 64+ else if ( $params['filterredir'] == 'nonredirects' )
6565 $this->addWhereFld( 'page_is_redirect', 0 );
6666
6767 $this->addWhereFld( 'page_namespace', $params['namespace'] );

Status & tagging log