Page MenuHomePhabricator

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


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.

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



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).
Lejonel created this task.Jan 14 2012, 2:53 PM
Restricted Application added a subscriber: TerraCodes. · View Herald TranscriptJan 21 2018, 5:13 PM

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.