Limit searches at 500 per page
authorChad Horohoe <chadh@wikimedia.org>
Thu, 9 Jan 2014 18:38:19 +0000 (10:38 -0800)
committerChad Horohoe <chadh@wikimedia.org>
Thu, 9 Jan 2014 18:38:19 +0000 (10:38 -0800)
commit42d4f35696852b2d72089dce86034792fdf4de8e
tree8008e985e2878fe3babbcd9f1d51fc69da10c77d
parent00e5290c563bdb34c3a2f19433e66cd07ab24615
Limit searches at 500 per page

* 5000 search results in a single page is too many to be useful and
  just results in a slow page load. If you need that many results use
  the API.
* Adds new parameter to WebRequest::getLimitOffset() to allow making
  the 5000 limit configurable by callers

Change-Id: I7c12e4b0526db6453aaba5d589ee1c01a54b72d4
includes/WebRequest.php
includes/specials/SpecialSearch.php