r61450 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r61449‎ | r61450 | r61451 >
Date:00:14, 24 January 2010
Author:reedy
Status:ok
Tags:
Comment:
minor followup to r61447, moving commment
Modified paths:
  • /trunk/phase3/includes/api/ApiQueryBacklinks.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiQueryBacklinks.php
@@ -122,8 +122,9 @@
123123
124124 if ( $this->params['filterredir'] == 'redirects' )
125125 $this->addWhereFld( 'page_is_redirect', 1 );
126 - else if ( $this->params['filterredir'] == 'nonredirects' && !$this->redirect ) //bug 22245 - Check for !redirect, as filtering nonredirects, when getting what links to them is contradictory
127 - $this->addWhereFld( 'page_is_redirect', 0 );
 126+ else if ( $this->params['filterredir'] == 'nonredirects' && !$this->redirect )
 127+ //bug 22245 - Check for !redirect, as filtering nonredirects, when getting what links to them is contradictory
 128+ $this->addWhereFld( 'page_is_redirect', 0 );
128129
129130 $this->addOption( 'LIMIT', $this->params['limit'] + 1 );
130131 $this->addOption( 'ORDER BY', $this->bl_from );

Follow-up revisions

RevisionCommit summaryAuthorDate
r61571wmf-deployment: Merge r61447, r61450 and r61456 from trunkcatrope11:44, 27 January 2010

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r61447* (bug 22245) blfilterredirect=nonredirects in blredirect mode wrongly filtering...reedy23:32, 23 January 2010

Status & tagging log