Last modified: 2014-03-09 18:02:49 UTC
Archived discussion at http://www.wikidata.org/wiki/Wikidata:Contact_the_development_team/Archive/2012/11#language_code_problems als, be-x-old and zh-yue are not a valid language code that should be used for labels, aliases and descriptions. Instead gsw, be-tarask and yue are the valid lang codes. You you also check the lang setting of these wikis: http://als.wikipedia.org/w/api.php?action=query&meta=siteinfo&siprop=general
This bug is probably too general to be useful (perhaps transform into a tracking bug?), but as we have another equally general report let me copy it here: ---- Small update: I went through the language list at https://github.com/mkroetzsch/wda/blob/master/includes/epTurtleFileWriter.py#L472 and added a number of TODOs to the most obvious problematic cases. Typical problems are: * Malformed language codes ('tokipona') * Correctly formed language codes without any official meaning (e.g., 'cbk-zam') * Correctly formed codes with the wrong meaning (e.g., 'sr-ec': Serbian from Ecuador?!) * Language codes with redundant information (e.g., 'kk-cyrl' should be the same as 'kk' according to IANA, but we have both) * Use of macrolanguages instead of languages (e.g., "zh" is not "Mandarin" but just "Chinese"; I guess we mean Mandarin; less sure about Kurdish ...) * Language codes with incomplete information (e.g., "sr" should be "sr-Cyrl" or "sr-Latn", both of which already exist; same for "zh" and "zh-Hans"/"zh-Hant", but also for "zh-HK" [is this simplified or traditional?]). ---- Small update: I went through the language list at https://github.com/mkroetzsch/wda/blob/master/includes/epTurtleFileWriter.py#L472 and added a number of TODOs to the most obvious problematic cases. Typical problems are: * Malformed language codes ('tokipona') * Correctly formed language codes without any official meaning (e.g., 'cbk-zam') * Correctly formed codes with the wrong meaning (e.g., 'sr-ec': Serbian from Ecuador?!) * Language codes with redundant information (e.g., 'kk-cyrl' should be the same as 'kk' according to IANA, but we have both) * Use of macrolanguages instead of languages (e.g., "zh" is not "Mandarin" but just "Chinese"; I guess we mean Mandarin; less sure about Kurdish ...) * Language codes with incomplete information (e.g., "sr" should be "sr-Cyrl" or "sr-Latn", both of which already exist; same for "zh" and "zh-Hans"/"zh-Hant", but also for "zh-HK" [is this simplified or traditional?]).
Copy and paste fail... URL http://thread.gmane.org/gmane.org.wikimedia.wikidata/2524
It seems fixed to me. I just made this edit with uselang=be-x-old: https://www.wikidata.org/w/index.php?title=Q1&diff=112330190&oldid=112313552