From: Roan Kattouw Date: Fri, 31 Dec 2010 16:31:41 +0000 (+0000) Subject: Fix r78970 per CR: params were the wrong way around X-Git-Tag: 1.31.0-rc.0~32960 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=d0d7eb0e6a89bc1620096017cf9e84446963a983;p=lhc%2Fweb%2Fwiklou.git Fix r78970 per CR: params were the wrong way around --- diff --git a/includes/specials/SpecialLinkSearch.php b/includes/specials/SpecialLinkSearch.php index a47301aa6d..f2fe3331bc 100644 --- a/includes/specials/SpecialLinkSearch.php +++ b/includes/specials/SpecialLinkSearch.php @@ -177,7 +177,7 @@ class LinkSearchPage extends QueryPage { /** * Override to check query validity. */ - function doQuery( $offset, $limit = false ) { + function doQuery( $limit, $offset = false ) { global $wgOut; list( $this->mMungedQuery, ) = LinkSearchPage::mungeQuery( $this->mQuery, $this->mProt ); if( $this->mMungedQuery === false ) { @@ -186,7 +186,7 @@ class LinkSearchPage extends QueryPage { // For debugging // Generates invalid xhtml with patterns that contain -- //$wgOut->addHTML( "\n\n" ); - parent::doQuery( $offset, $limit ); + parent::doQuery( $limit, $offset ); } }