Page MenuHomePhabricator

Wrong number of entries shown for paging links in category pages
Closed, ResolvedPublic

Description

When I click on a link labelled "next 200" on an initial category page, and the categoy has 206 members, I get six entries, not 200. Thus the link should not read "next 200" but "next 6"

I was bewildered, looking for missing or lost entries until I found that the previous page said "206 entries" and thus there could not be possibly 200 more.


Version: 1.23.0
Severity: minor
URL: https://commons.wikimedia.org/w/index.php?title=Category:Audio_files_of_phoneme_samples&fileuntil=Voiceless+retroflex+stop.oga#mw-category-media
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=19938

Details

Reference
bz57414

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 2:35 AM
bzimport added a project: MediaWiki-Categories.
bzimport set Reference to bz57414.
bzimport added a subscriber: Unknown Object (MLST).

The intention is more-up to the next 200 links.

In order to accurately do this in all cases we'd essentially have to do the query for the next page.

matmarex added a subscriber: matmarex.

Or we could just make the links "next page" / "previous page" rather than mentioning 200…

Tinaj1234 set Security to None.

Change 199967 had a related patch set uploaded (by Tinaj1234):
Change labels of paging links in Category page

https://gerrit.wikimedia.org/r/199967

matmarex closed this task as Resolved.Apr 2 2015, 2:11 PM
matmarex removed a project: Patch-For-Review.
matmarex removed subscribers: gerritbot, Unknown Object (MLST).

Change 199967 merged by jenkins-bot:
Change labels of paging links in Category page

https://gerrit.wikimedia.org/r/199967