Last modified: 2012-06-12 12:36:05 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 T25034, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 23034 - allow configurable categorization by two- or three-letter codes
allow configurable categorization by two- or three-letter codes
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Babel (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-04-03 20:19 UTC by Amir E. Aharoni
Modified: 2012-06-12 12:36 UTC (History)
5 users (show)

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


Attachments

Description Amir E. Aharoni 2010-04-03 20:19:09 UTC
OmegaWiki ( http://www.omegawiki.org/ ) mostly uses three-letter language codes. It uses the Babel extension. Apparently the categorization that it uses is rather confusing.

For example, i have "heb-5" and i am categorized as "User he-5" - three letters in the template, but two in the category.

Some other users are currently categorized as "User heb", but if a null edit is made to their user page, it is re-categorized as "User he". This is confusing and wrong.

It is certainly OK to support two-language codes, but the site should be able to control the categorization. Maybe the extension should simply categorize by the code used in the template. And maybe the extension can allow the site master to force three-letter codes, i.e. two-letter codes simply won't work.
Comment 2 Gerard Meijssen 2011-03-04 13:11:09 UTC
There is no problem with Babel categories. Most ISO-639-1 languages are still considered languages in the ISO-639-3. In the ISO-639-6 the codes of the ISO-639-1 will be used in preference to the ISO-639-3 codes.
Thanks,
    GerardM
Comment 3 Amir E. Aharoni 2011-03-04 13:13:48 UTC
For languages included in ISO-639-1 both codes are valid, for example en/eng.

Mixing them in one wiki leads to confusing results, however, and this should be fixed or at least clarified.
Comment 4 Krinkle 2011-03-04 13:22:14 UTC
Both are accepted ('eng' and 'en' for instance) by the Babel extension, which I fine I guess. (Easier to use, people can use whichever they know or prefer in the wikitext). In categorization only one of them should be used though.

Afaik this is already the case.

I just tried on my User-page at TranslateWiki:

 NL ENG DE
{{#babel:nl|eng-4|de-2}}
> Categories:  User nl | User nl-N | User en | User en-4 | User de | User de-2

 NLD EN DEU
{{#babel:nld|en-4|de-2
> Categories: User nl | User nl-N | User en | User en-4 | User de | User de-2

Both give the same categories (two-letter codes)
Comment 5 Siebrand Mazeland 2012-06-12 12:36:05 UTC
Update assignee and CCs

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


Navigation
Links