Last modified: 2010-05-15 15:38:13 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 3431 - Search should pay more attention to the number of results
Search should pay more attention to the number of results
Product: MediaWiki
Classification: Unclassified
Search (Other open bugs)
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2005-09-11 20:50 UTC by Justin Dolske
Modified: 2010-05-15 15:38 UTC (History)
0 users

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


Description Justin Dolske 2005-09-11 20:50:35 UTC
[bounced here from]

If I search for some word, above the results (and below) are text/links to view
the previous 20, the next 20, and for setting the per-page results to
20/50/100/250/500. That's useful for big searches, but for small searches it's
just clutter. Basically, when all the available results are shown these links
are useless.

For example, a search for "foobar" on the wiki
currently returns 3 results. There's no reason to include the "previous 20" text
(on the first page?!), or the "next 20" link (there's only 3 total!).

I also don't really see any point in offering a results-per-page value greater
than the number of results. If the search returns 30 results, only the "20" and
"50" options would be useful. In fact, just labeling the maximum value as "All"
would seem a bit clearer. [unless this is sticky, in which case it would need to
be a specific number]
Comment 1 Brion Vibber 2006-01-22 04:20:48 UTC
Restored from flood attack.
Comment 2 Antoine "hashar" Musso (WMF) 2007-05-04 20:09:17 UTC
Fixed in r21866.

NOTE: Mysqlsearch do not give us the number of total results, so we are
not really sure if the show results are really the last ones. That should
be enough though.

I find disabling the 20 | 50 | 100 .... links would be disturbing, I have
not disabled them.

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