Index: trunk/phase3/includes/api/ApiQueryBacklinks.php |
— | — | @@ -122,8 +122,9 @@ |
123 | 123 | |
124 | 124 | if ( $this->params['filterredir'] == 'redirects' ) |
125 | 125 | $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 ); |
128 | 129 | |
129 | 130 | $this->addOption( 'LIMIT', $this->params['limit'] + 1 ); |
130 | 131 | $this->addOption( 'ORDER BY', $this->bl_from ); |