From: Brad Jorsch Date: Wed, 24 Feb 2016 21:22:39 +0000 (-0500) Subject: ApiQuerySearch: Match limits to those in Special:Search X-Git-Tag: 1.31.0-rc.0~7823^2 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/%24wgLogo?a=commitdiff_plain;h=ce3d55d6b7b398be5cbe286ae9b769f74510a796;p=lhc%2Fweb%2Fwiklou.git ApiQuerySearch: Match limits to those in Special:Search The limits were decreased in r55615, but no one seems to remember why. Bug: T119189 Change-Id: I622203195ed5dbed9548bb4a9a6acdab8e3bc3ed --- diff --git a/includes/api/ApiQuerySearch.php b/includes/api/ApiQuerySearch.php index 44b3d4c3ea..2eb5d14ea3 100644 --- a/includes/api/ApiQuerySearch.php +++ b/includes/api/ApiQuerySearch.php @@ -351,8 +351,8 @@ class ApiQuerySearch extends ApiQueryGeneratorBase { ApiBase::PARAM_DFLT => 10, ApiBase::PARAM_TYPE => 'limit', ApiBase::PARAM_MIN => 1, - ApiBase::PARAM_MAX => ApiBase::LIMIT_SML1, - ApiBase::PARAM_MAX2 => ApiBase::LIMIT_SML2 + ApiBase::PARAM_MAX => ApiBase::LIMIT_BIG1, + ApiBase::PARAM_MAX2 => ApiBase::LIMIT_BIG2 ], 'interwiki' => false, 'enablerewrites' => false,