r55615 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r55614‎ | r55615 | r55616 >
Date:21:13, 26 August 2009
Author:catrope
Status:ok
Tags:
Comment:
API: Per rainman, mark list=search as an expensive query and lower its limits to 50/500 from 500/5000
Modified paths:
  • /trunk/phase3/includes/api/ApiQuerySearch.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiQuerySearch.php
@@ -194,8 +194,8 @@
195195 ApiBase :: PARAM_DFLT => 10,
196196 ApiBase :: PARAM_TYPE => 'limit',
197197 ApiBase :: PARAM_MIN => 1,
198 - ApiBase :: PARAM_MAX => ApiBase :: LIMIT_BIG1,
199 - ApiBase :: PARAM_MAX2 => ApiBase :: LIMIT_BIG2
 198+ ApiBase :: PARAM_MAX => ApiBase :: LIMIT_SML1,
 199+ ApiBase :: PARAM_MAX2 => ApiBase :: LIMIT_SML2
200200 )
201201 );
202202 }
@@ -228,4 +228,4 @@
229229 public function getVersion() {
230230 return __CLASS__ . ': $Id$';
231231 }
232 -}
\ No newline at end of file
 232+}

Follow-up revisions

RevisionCommit summaryAuthorDate
r55616wmf-deployment: Merge r55615 (lower limits for list=search)catrope21:26, 26 August 2009

Status & tagging log