Last modified: 2014-05-10 21:02:40 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 T44397, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 42397 - missing language code uz-latn
missing language code uz-latn
Status: PATCH_TO_REVIEW
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
u=dev c=infrastructure p=0
:
: 42451 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-23 20:07 UTC by merl
Modified: 2014-05-10 21:02 UTC (History)
13 users (show)

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


Attachments

Description merl 2012-11-23 20:07:01 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":""}]}
Comment 1 merl 2012-11-24 12:38:41 UTC
uz-cyrl isn't accepcted, too.
Comment 2 denny vrandecic 2012-11-26 17:25:04 UTC
*** Bug 42451 has been marked as a duplicate of this bug. ***
Comment 3 Robin Pepermans (SPQRobin) 2012-11-29 16:17:05 UTC
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.
Comment 4 denny vrandecic 2012-12-05 14:21:59 UTC
The other way around. uz-latn == uz, and uz-cyrl should be extra or transliterated.
Comment 5 Gerrit Notification Bot 2013-05-23 10:19:43 UTC
Related URL: https://gerrit.wikimedia.org/r/65102 (Gerrit Change Ia3daaeba1ce5e69e751ffc2ae5afd5e449cf4aa7)
Comment 6 Nischay Nahata 2013-05-23 10:29:17 UTC
(In reply to comment #5)
> Related URL: https://gerrit.wikimedia.org/r/65102 (Gerrit Change
> Ia3daaeba1ce5e69e751ffc2ae5afd5e449cf4aa7)

Sorry for that, it was by mistake.
Comment 7 Lydia Pintscher 2014-03-17 11:34:29 UTC
Is this something that needs to be handled in Wikidata or rather MediaWiki core?
Comment 8 Gerrit Notification Bot 2014-05-10 20:56:10 UTC
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
Comment 9 Robin Pepermans (SPQRobin) 2014-05-10 21:02:40 UTC
(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.

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


Navigation
Links