dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e6154c
)
ApiQuerySearch: Match limits to those in Special:Search
author
Brad Jorsch
<bjorsch@wikimedia.org>
Wed, 24 Feb 2016 21:22:39 +0000
(16:22 -0500)
committer
Brad Jorsch
<bjorsch@wikimedia.org>
Wed, 24 Feb 2016 21:22:39 +0000
(16:22 -0500)
The limits were decreased in r55615, but no one seems to remember why.
Bug: T119189
Change-Id: I622203195ed5dbed9548bb4a9a6acdab8e3bc3ed
includes/api/ApiQuerySearch.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiQuerySearch.php
b/includes/api/ApiQuerySearch.php
index
44b3d4c
..
2eb5d14
100644
(file)
--- 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_
SML
1,
- ApiBase::PARAM_MAX2 => ApiBase::LIMIT_
SML
2
+ ApiBase::PARAM_MAX => ApiBase::LIMIT_
BIG
1,
+ ApiBase::PARAM_MAX2 => ApiBase::LIMIT_
BIG
2
],
'interwiki' => false,
'enablerewrites' => false,