Page MenuHomePhabricator

Index Page is sorted differently in category, depending on how Category is added
Open, Needs TriagePublicBUG REPORT

Description

List of steps to reproduce (step by step, including full links if applicable):

What happens?:

What should have happened instead?:
Should be sorted under letter P in both cases

Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc.:

Event Timeline

Looking at the API-response you can see that the categories added to the Category section of the index page have sort_keys set to the category name. Since these are explicitly set they can't even be overridden using DEFAULTSORT.

The sort keys are however not serialized in the APIs wikitext output.

My guess is that the handling of the pipe-separated input format (mentioned in the help blurb but which no longer seems to be supported) is somehow behind the accidental sort key