From d0d7eb0e6a89bc1620096017cf9e84446963a983 Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Fri, 31 Dec 2010 16:31:41 +0000 Subject: [PATCH] Fix r78970 per CR: params were the wrong way around --- includes/specials/SpecialLinkSearch.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ); } } -- 2.20.1