Search code examples
phpmediawikicategorieswikialphabetical

How does MediaWiki sort page links in category overviews?


The answer should be: alphabetically.

Currently, I have a page starting with 'A' appearing in the 'S' section of the category overview page.

Screenshot: https://i.sstatic.net/pKide.jpg

I have a small Wiki running for my team:

  • MediaWiki 1.22.2
  • PHP 5.3.29 (litespeed)
  • MariaDB 5.5.40-MariaDB

and this is the first time I have ever spotted something like this.

The 'Abana' page refuses to appear in the 'A' section. I've moved/changed the name of the page and it still appears in 'S'section regardless:

Screenshot: https://i.sstatic.net/DpM8V.jpg

New pages created after the 'Abana' page appear in the right section of the alphabet, and they do so in all categories on the wiki.

The page itself contains very little:

ASANA useful plugins

Find the Alfred workflow / quick entry instructions [https://asana.com/apps/alfred here]

[[Category:ST ORG IT|ST_ORG_IT]]

I don't know enough about debugging MediaWiki installs to know where to start looking to fix this.

My configs are fairly standard, and there aren't any that mess with the categories:

  • Renameuser
  • User Merge and Delete 1.8.1
  • include
  • OpenID
  • WikiEditor

I'd really like to get my letters back in the right order; whilst the order being wrong isn't the end of the world, I wonder if it is indicative of something more serious.

Any pointers greatly appreciated!


Solution

  • [[Category:ST ORG IT|ST_ORG_IT]] tells MediaWiki to put it into the ST ORG IT category with a sort key of ST ORG IT. You'll want [[Category:ST ORG IT]].