Page MenuHomePhabricator

using "from=" in category urls can incorrectly say that categories are empty
Open, MediumPublic

Description

In current Wikimedia version of Mediawiki using category urls with "from=Something" will say that the category is empty if all sortkeys are aphabetically smaller than "Something". And no "previous 200 link" is shown.
Example: http://sv.wikipedia.org/wiki/Kategori:Spelare_i_FK_Austria_Wien?from=Y&uselang=en

Similar problem can be seen for the subcat, page, and media sections of a category if the new "subcatfrom=", "pagefrom=", and "filefrom=" parameters or old "from=" parameter is greater than all sort keys in a section. Then that section and its previous link is not shown.

The "until", "subcatuntil", "pageuntil", and "fileuntil" parameters have the same bug (but in the other direction).


Version: unspecified
Severity: normal

Details

Reference
bz33723
TitleReferenceAuthorSource BranchDest Branch
runner: Fix eslint commit message generationrepos/ci-tools/libup!20taavitaavi/messagemaster
runner: Deal with nested eslint config filesrepos/ci-tools/libup!18taavitaavi/eslint-subconfigmaster
Customize query in GitLab

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 12:00 AM
bzimport set Reference to bz33723.
bzimport added a subscriber: Unknown Object (MLST).

The erroneous message is in "MediaWiki:Category-empty", and in English, it gives this incorrect message: "There are no pages or files in this category."

On this "no pages or files" results page, there are also no "previous page / next page" links, even though there should be a "previous page" link if you are at the end of the alphabet or a "next page" link if you are at the beginning of the alphabet.

Will looks like this, a little bit strange..?

image.png (429×768 px, 45 KB)

Change 789968 had a related patch set uploaded (by Stang; author: Stang):

[mediawiki/core@master] CategoryViewer: Display count link if from/until parameter is set

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