Last modified: 2014-05-10 21:02:40 UTC
When my bot tries to add labels in uz-latn this fails with /api/error:code=not-recognized-language /api/error:info=unknown language: uz-latn uz-latn is a lang code used as variant at uzwiki: http://uz.wikipedia.org/w/api.php?action=query&meta=siteinfo&siprop=general json part that caused this error: {"labels":[{"language":"uz-latn","value":"Steve Wozniak","add":""},{"language":"uz-cyrl","value":"Стеве Wозниак","add":""}]}
uz-cyrl isn't accepcted, too.
*** Bug 42451 has been marked as a duplicate of this bug. ***
As I said on bug 42420, this is simply because Uzbek has a language conversion but (unlike other languages with a language converter), the variants do not have separate MediaWiki localisations. It may make sense to just add uz-latn & uz-cyrl as falling back to uz.
The other way around. uz-latn == uz, and uz-cyrl should be extra or transliterated.
Related URL: https://gerrit.wikimedia.org/r/65102 (Gerrit Change Ia3daaeba1ce5e69e751ffc2ae5afd5e449cf4aa7)
(In reply to comment #5) > Related URL: https://gerrit.wikimedia.org/r/65102 (Gerrit Change > Ia3daaeba1ce5e69e751ffc2ae5afd5e449cf4aa7) Sorry for that, it was by mistake.
Is this something that needs to be handled in Wikidata or rather MediaWiki core?
Change 132743 had a related patch set uploaded by SPQRobin: (bug 42397) Add missing uz-latn and uz-cyrl https://gerrit.wikimedia.org/r/132743
(In reply to Lydia Pintscher from comment #7) > Is this something that needs to be handled in Wikidata or rather MediaWiki > core? Changing product to MediaWiki.