Last modified: 2014-02-12 23:35:37 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 T40089, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 38089 - Pagination broken on search results
Pagination broken on search results
Status: NEW
Product: MediaWiki
Classification: Unclassified
Search (Other open bugs)
1.22.0
All All
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
https://pt.wikipedia.org/w/index.php?...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-06-30 02:51 UTC by Helder
Modified: 2014-02-12 23:35 UTC (History)
3 users (show)

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


Attachments

Description Helder 2012-06-30 02:51:17 UTC
When searching for
https://pt.wikipedia.org/w/index.php?title=Especial:Pesquisar&limit=2000&offset=0&redirs=0&profile=all&search=switch+default&uselang=en
I get the following inconsistency on search results:
* Results 1 - 501 of 1,045 for switch default
** Why not exactly 500? And why not all 1043?
* View (previous 2,000 | next 2,000) (20 | 50 | 100 | 250 | 500)
** There is no link on "previous 2,000 | next 2,000" as it should
* A CTRL+F for "words)" revels there are 500 items in the page
** (not 501 and certainly not all 1043, so there should be links for "next" page)
Comment 1 Brion Vibber 2012-07-02 21:34:49 UTC
Hmm.... There's no paging links on previous/next because there *are* no previous/next pages, you've asked for 2000 of less than 2000 results.

However it does claim it's only giving you 500 or so; that may be a limitation that's applied separately from the requested result size...
Comment 2 Helder 2012-07-03 00:05:47 UTC
(In reply to comment #1)
> Hmm.... There's no paging links on previous/next because there *are* no
> previous/next pages, you've asked for 2000 of less than 2000 results.
Well, if I reduce the limit to e.g. 1000 (which is < 1045) the links are not shown either:
https://pt.wikipedia.org/w/index.php?title=Especial:Pesquisar&limit=1000&offset=0&redirs=0&profile=all&search=switch+default&uselang=en
Comment 3 Chad H. 2013-10-23 18:23:08 UTC
This is a core bug with Special:Search, not an issue in lsearchd (or MWSearch). 

I've seen the problem with Cirrus as well :)

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


Navigation
Links