Last modified: 2014-09-04 10:34:57 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 T63993, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 61993 - Babel language codes should be normalised to lower case when used in categories
Babel language codes should be normalised to lower case when used in categories
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Babel (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-02-27 11:09 UTC by Mr. Stradivarius
Modified: 2014-09-04 10:34 UTC (History)
6 users (show)

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


Attachments

Description Mr. Stradivarius 2014-02-27 11:09:41 UTC
On enwiki the Babel categories are in the format of "Category:User xx", where xx is always in lower case. However, if a user enters codes with a different capitalisation in their #babel invocation, the page is categorised with that different capitalisation.

For example, on enwiki, the code {{#babel: En}} will add the page to the category "Category:User En", when it should be "Category:User en".

This also has the consequence that [[User:Babel AutoCreate]] creates duplicate categories for each different code capitalisation that someone has used. I see it has created both [[:Category:User Zh]] and [[:Category:User zh]], for instance. (I have blocked the Babel AutoCreate account on enwiki until we can find a way to fix this.)

I assume that lower case is the preferred code format for other wikis, and that seemed to be the case when I spot-checked a few of them. However, if any wikis use a different system, code capitalisation might need to be made configurable, rather than lower case being hard-coded.

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


Navigation
Links