r79346 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r79345‎ | r79346 | r79347 >
Date:16:31, 31 December 2010
Author:catrope
Status:ok
Tags:
Comment:
Fix r78970 per CR: params were the wrong way around
Modified paths:
  • /trunk/phase3/includes/specials/SpecialLinkSearch.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialLinkSearch.php
@@ -177,7 +177,7 @@
178178 /**
179179 * Override to check query validity.
180180 */
181 - function doQuery( $offset, $limit = false ) {
 181+ function doQuery( $limit, $offset = false ) {
182182 global $wgOut;
183183 list( $this->mMungedQuery, ) = LinkSearchPage::mungeQuery( $this->mQuery, $this->mProt );
184184 if( $this->mMungedQuery === false ) {
@@ -186,7 +186,7 @@
187187 // For debugging
188188 // Generates invalid xhtml with patterns that contain --
189189 //$wgOut->addHTML( "\n<!-- " . htmlspecialchars( $this->mMungedQuery ) . " -->\n" );
190 - parent::doQuery( $offset, $limit );
 190+ parent::doQuery( $limit, $offset );
191191 }
192192 }
193193

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r78970Adding click rate plots to latest test reporting.rfaulk16:14, 24 December 2010

Status & tagging log