Index: trunk/phase3/includes/specials/SpecialLinkSearch.php |
— | — | @@ -177,7 +177,7 @@ |
178 | 178 | /** |
179 | 179 | * Override to check query validity. |
180 | 180 | */ |
181 | | - function doQuery( $offset, $limit = false ) { |
| 181 | + function doQuery( $limit, $offset = false ) { |
182 | 182 | global $wgOut; |
183 | 183 | list( $this->mMungedQuery, ) = LinkSearchPage::mungeQuery( $this->mQuery, $this->mProt ); |
184 | 184 | if( $this->mMungedQuery === false ) { |
— | — | @@ -186,7 +186,7 @@ |
187 | 187 | // For debugging |
188 | 188 | // Generates invalid xhtml with patterns that contain -- |
189 | 189 | //$wgOut->addHTML( "\n<!-- " . htmlspecialchars( $this->mMungedQuery ) . " -->\n" ); |
190 | | - parent::doQuery( $offset, $limit ); |
| 190 | + parent::doQuery( $limit, $offset ); |
191 | 191 | } |
192 | 192 | } |
193 | 193 | |