Page MenuHomePhabricator

Search result page numbers should be rounded to nearest integer
Closed, DeclinedPublic

Description

Author: matthew.britton

Description:
Any request for search results where the "offset" isn't a multiple of the "limit" returns fractional page numbers, for example http://en.wikipedia.org/w/index.php?title=Special:Search&search=fish&fulltext=Search&offset=120&limit=7

While technically correct this looks a bit odd, and I think it would be better to just round each number to the nearest integer before displaying it.


Version: unspecified
Severity: enhancement

Details

Reference
bz13297

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 10:04 PM
bzimport set Reference to bz13297.
bzimport added a subscriber: Unknown Object (MLST).

This issue seems specific to the LuceneSearch extension's front-end, which is on the way out.

WONTFIXing this as we're about to dump LuceneSearch front-end for the built-in one which doesn't suffer from the problem.

[Merging "MediaWiki extensions/Lucene Search" into "Wikimedia/lucene-search2", see bug 46542. You can filter bugmail for: search-component-merge-20130326 ]