Open Bug 1072114 Opened 10 years ago Updated 10 years ago

[feature] Categories sorted and displayed by title and not path


(Websites ::, enhancement)

Not set


(Not tracked)


(Reporter: karlcow, Unassigned)


This is not a bug, more of a feature request.

Let's take a concrete example

This is a classical category page. I manage to change the sorting order by relying on MediaWiki feature for sorting Categories.

For example Compatibility/Guide is not under "C" but "G", because in the page I added

[[Category:Web Compatibility|Guide]]

This is cool. It would be even better if we could have displayed in the category page, the term "Guide" instead of "Compatibility/Guide". All these paths become very noisy for a reader.
This is one of the known drawbacks of using subpages to the extent we do. 

We don't have a way to modify the display of subpages with a simple change of configuration options.

There might be an extension that can be made to do this, such as Semantic Mediawiki[1] or DynamicPageList[2]. We'll have to do some research.

Regarding the sort order, you can use {{DEFAULTSORTKEY}} magic word in conjunction with {{SUBPAGENAME}}. Adding {{DEFAULTSORTKEY:{{SUBPAGENAME}}}} to any page or template will set the sort key to just subpage. Same with [[Category:CategoryName|{{SUBPAGENAME}}]].

Severity: normal → enhancement
OS: Mac OS X → All
Hardware: x86 → All
You need to log in before you can comment on or make changes to this bug.