Last modified: 2014-08-03 09:25:21 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T23287, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 21287 - Pagination links are broken for search if limit is set higher than 50
Pagination links are broken for search if limit is set higher than 50
Status: NEW
Product: MediaWiki
Classification: Unclassified
Search (Other open bugs)
unspecified
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 21498 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-10-25 21:15 UTC by Amir E. Aharoni
Modified: 2014-08-03 09:25 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Amir E. Aharoni 2009-10-25 21:15:07 UTC
I changed the "Hits per page" value in My preferences on the English Wikipedia to 500. Now, when i search for a string, for example "Aharoni", i get this line at the top of the page: "Results 1 - 50 of 299 for aharoni".

"1 - 50" - even though all the results are shown on one page. I'm not sure, but i think that it is a new issue and that it used to show something like "1 - 299" earlier.
Comment 1 Robert Stojnic 2009-10-25 21:27:27 UTC
I have recently set maximum number of hits to 50 on the backend. We cannot sustain having the limit per page set to 500, and these queries frequently time out and cause other problems under high load (e.g. see bug 16236). 

As far as i know, the frontend has those values 20-50-100-250-500 hardcoded, so that needs fixing. 
Comment 2 Amir E. Aharoni 2009-10-25 21:35:40 UTC
Oh, i see - not all the 299 results are shown, only 50. And the (previous 500  | next 500) links at the bottom are inactive. This creates an illusion that all the results are shown.

OK then, if 500 is too much, i'll set it to 50, even though 500 was very convenient to me. Maybe all users should be forced to change that in one way or another.
Comment 3 P.Copp 2009-11-26 13:50:40 UTC
*** Bug 21498 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links