Last modified: 2010-05-15 15:38:54 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 T4733, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 2733 - Incorrect search result count and paging
Incorrect search result count and paging
Status: RESOLVED DUPLICATE of bug 3679
Product: MediaWiki
Classification: Unclassified
Search (Other open bugs)
1.5.x
All All
: Normal normal with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/wiki/Special:...
:
: 2895 3184 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-07-07 02:03 UTC by Colin Pitts
Modified: 2010-05-15 15:38 UTC (History)
2 users (show)

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


Attachments

Description Colin Pitts 2005-07-07 02:03:13 UTC
A user reported on enwiki that searching for "Gimbutas" produces unexpected results.

The search reports 52 hits, with the pager listing 3 pages.

Page 1 displays _19_ hits (1-20 of 52):

Marija Gimbutas
Lengyel culture
Maikop culture
Riane Eisler
Yamna
Old European culture
Kurgan
Proto-Indo-European
Starhawk
Laima
Old European Script
List of Lithuanians
Dianic Wicca
Indo-European
Indo-European studies
Peter Ucko
List of archaeologists
Matriarchy
Lithuanian mythology

Page 2 displays 11 hits (21-40 of 52):
Labrys
Goddess worship
Mother goddess
Vere Gordon Childe
Slavic mythology
Gaia (mythology)
Human migration
Wicca
Camille Paglia
Goddess movement
Greek mythology

Page 3 displays the error "Sorry, there were no exact matches to your query."
Comment 1 Brion Vibber 2005-08-19 08:50:02 UTC
*** Bug 2895 has been marked as a duplicate of this bug. ***
Comment 2 Brion Vibber 2005-08-19 08:50:16 UTC
*** Bug 3184 has been marked as a duplicate of this bug. ***
Comment 3 Roger Stout 2006-04-07 00:23:55 UTC
Observed same behavior as originally described in #2733 with the following searches:
#1  semiconductor thermal test

found 53 hits:
  page 1 showed 1-20
  page 2 showed 21-40
  page 3 said "no results found" effect
in other words, could not view hits 41-53

#2  semiconductor thermal

found 184 hits:
  page 1 showed 1-20
  page 8 showed 141-160
  page 9 said "no results found" or words to that effect
NOTE that based on initial report, and case #1 reported here, one would have expected 
page 9 to show results 161-180, and page 10 to say "no results found"; however, the bug 
appears to have occurred at an earlier page than would have been expected.  It is 
difficult to imagine that all searches (based on this sample of 3 test cases) return an 
exact multiple of 20 hits; it is also evident that it is not simply a matter of 
truncating the list prior at the end of the last complete page - it is more likely an 
error in the computation of the last page number, for instance, instead of (n DIV 20)+1 
the computation is (n DIV 20+1) or some such typo.
Comment 4 Brion Vibber 2006-04-07 00:25:09 UTC
Paging shows 20 at a time. Hence the 20.
Comment 5 Brion Vibber 2006-04-25 05:44:08 UTC

*** This bug has been marked as a duplicate of 3679 ***

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


Navigation
Links