On 4 March 2013 07:44, Jiang BIAN <[email protected]> wrote:

> There are some ids like "dewiki", "enwiki" etc, which I guess can be
> interpreted to corresponding languages "de", "en" respectively. But is there
> a reliable map from these *wiki to the language code? And some are even
> using 3-letter prefix, e.g. gotwiki, xmfwiki.

I can't answer on the APIs, but the three-letter prefixes are also
languages - got is Gothic, xmf Mingrelian, etc.

XXwiki or XXXwiki will always refer to the XX or XXX language
Wikipedia using standard ISO 639-1 or 639-2 codes; there are a couple
of exceptions, such as simplewiki, but anything with two or three
characters should be reliable.

-- 
- Andrew Gray
  [email protected]

_______________________________________________
Wikidata-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-l

Reply via email to