Last modified: 2010-05-15 15:38:54 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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)
All All
: Normal normal with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
: 2895 3184 (view as bug list)
Depends on:
  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: ---


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
Old European culture
Old European Script
List of Lithuanians
Dianic Wicca
Indo-European studies
Peter Ucko
List of archaeologists
Lithuanian mythology

Page 2 displays 11 hits (21-40 of 52):
Goddess worship
Mother goddess
Vere Gordon Childe
Slavic mythology
Gaia (mythology)
Human migration
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.