r21796 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r21795‎ | r21796 | r21797 >
Date:14:42, 2 May 2007
Author:brion
Status:old
Tags:
Comment:
Fix for E_STRICT: match to current prototype for QueryPage::doQuery
Modified paths:
  • /trunk/extensions/LinkSearch/LinkSearch.php (modified) (history)

Diff [purge]

Index: trunk/extensions/LinkSearch/LinkSearch.php
@@ -99,7 +99,7 @@
100100 /**
101101 * Override to check query validity.
102102 */
103 - function doQuery( $offset, $limit ) {
 103+ function doQuery( $offset, $limit, $shownavigation=true ) {
104104 global $wgOut;
105105 $this->mMungedQuery = LinkSearchPage::mungeQuery( $this->mQuery, $this->mProt );
106106 if( $this->mMungedQuery === false ) {
@@ -107,7 +107,7 @@
108108 } else {
109109 // For debugging
110110 $wgOut->addHtml( "\n<!-- " . htmlspecialchars( $this->mMungedQuery ) . " -->\n" );
111 - parent::doQuery( $offset, $limit );
 111+ parent::doQuery( $offset, $limit, $shownavigation );
112112 }
113113 }
114114