Author: test5555
Description:
Specifics:
- (1) $wgCatSortkeyOverride (default value: false)
- (2) $wgCatSortkeyOverridewithS (default value: false)
- (3) MediaWiki:CatSortKeyOverride (default value: " ")
Option (1)
In some wikis, users frequently use " " or "*" as sortkey when the article title equals the name of the category. Thus, if no other sortkey is defined, this option would replace the sortkey with " " (i.e. the value in a new MediaWiki message (3)).
Sample:
- (1) $wgCatSortkeyOverride = True
- (3) MediaWiki:CatSortKeyOverride = " "
If http://commons.wikimedia.org/wiki/Denis_Diderot used [[Category:Denis Diderot]] (category without a sortkey, or DEFAULTSORT), the option would replace the (default) sortkey "Denis Diderot" with " ", as the name of the category is equal to the name of the article (gallery).
If http://commons.wikimedia.org/wiki/Denis_Diderot used [[Category:Denis Diderot|Diderot]] the configuration option would not change anything.
Option (2)
An additional option would do the replacement as well when the name of the category equals article title + "s". This can be useful in wikis with English language category titles.
Sample:
- (2) $wgCatSortkeyOverridewithS = True
- (3) MediaWiki:CatSortKeyOverride = " "
If http://commons.wikimedia.org/wiki/Tree used [[Category:Trees]] (category without a sortkey, or DEFAULTSORT), the option would replace the (default) sortkey "Tree" with " ", as the name of the category is equal to the name of the article (gallery) + "s".
Version: unspecified
Severity: enhancement
URL: http://www.mediawiki.org/wiki/Help:Categories#Sort_key