Index: trunk/extensions/LinkSearch/LinkSearch.php |
— | — | @@ -99,7 +99,7 @@ |
100 | 100 | /** |
101 | 101 | * Override to check query validity. |
102 | 102 | */ |
103 | | - function doQuery( $offset, $limit ) { |
| 103 | + function doQuery( $offset, $limit, $shownavigation=true ) { |
104 | 104 | global $wgOut; |
105 | 105 | $this->mMungedQuery = LinkSearchPage::mungeQuery( $this->mQuery, $this->mProt ); |
106 | 106 | if( $this->mMungedQuery === false ) { |
— | — | @@ -107,7 +107,7 @@ |
108 | 108 | } else { |
109 | 109 | // For debugging |
110 | 110 | $wgOut->addHtml( "\n<!-- " . htmlspecialchars( $this->mMungedQuery ) . " -->\n" ); |
111 | | - parent::doQuery( $offset, $limit ); |
| 111 | + parent::doQuery( $offset, $limit, $shownavigation ); |
112 | 112 | } |
113 | 113 | } |
114 | 114 | |