From: Sam Reed Date: Sun, 24 Jan 2010 00:14:21 +0000 (+0000) Subject: minor followup to r61447, moving commment X-Git-Tag: 1.31.0-rc.0~38121 X-Git-Url: http://git.cyclocoop.org/%22%2C%20generer_url_ecrire%28?a=commitdiff_plain;h=ed02427598dd53b078731ea96ba61e845748da76;p=lhc%2Fweb%2Fwiklou.git minor followup to r61447, moving commment --- diff --git a/includes/api/ApiQueryBacklinks.php b/includes/api/ApiQueryBacklinks.php index ea3a6df492..88f417d486 100644 --- a/includes/api/ApiQueryBacklinks.php +++ b/includes/api/ApiQueryBacklinks.php @@ -122,8 +122,9 @@ class ApiQueryBacklinks extends ApiQueryGeneratorBase { if ( $this->params['filterredir'] == 'redirects' ) $this->addWhereFld( 'page_is_redirect', 1 ); - else if ( $this->params['filterredir'] == 'nonredirects' && !$this->redirect ) //bug 22245 - Check for !redirect, as filtering nonredirects, when getting what links to them is contradictory - $this->addWhereFld( 'page_is_redirect', 0 ); + else if ( $this->params['filterredir'] == 'nonredirects' && !$this->redirect ) + //bug 22245 - Check for !redirect, as filtering nonredirects, when getting what links to them is contradictory + $this->addWhereFld( 'page_is_redirect', 0 ); $this->addOption( 'LIMIT', $this->params['limit'] + 1 ); $this->addOption( 'ORDER BY', $this->bl_from );