Last modified: 2011-09-11 02:57:36 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T26613, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 24613 - Configuration option(s) for sortkey if article title = category name (default sortkey override)
Configuration option(s) for sortkey if article title = category name (default...
Status: NEW
Product: MediaWiki
Classification: Unclassified
Categories (Other open bugs)
unspecified
All All
: Low enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
http://www.mediawiki.org/wiki/Help:Ca...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-07-31 16:08 UTC by User:Docu
Modified: 2011-09-11 02:57 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description User:Docu 2010-07-31 16:08:45 UTC
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".
Comment 1 Bawolff (Brian Wolff) 2011-09-11 02:57:36 UTC
I'm kind of leaning towards this should be wontfixed (or if done, done in an extension). Its not that hard to type [[category:Foo| ]], and I don't know, the proposed behaviour seems kind of weird to me.

Cheers.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links