On 19.06.19 07:17, Federico Leva (Nemo) wrote:
Vladimir Ryabtsev, 19/06/19 03:04:
How can I get the COMPLETE list of language codes
(desirably with
description) for Chinese that is supported by Wikidata?
Languages supported by a MediaWiki instance are expected to be all
listed at siprop=languages in the API:
<https://www.mediawiki.org/wiki/API:Siteinfo>
<https://www.wikidata.org/w/api.php?action=query&meta=siteinfo&siprop=languages>
There’s also a separate API for all the languages Wikibase supports. For
labels/descriptions/aliases, that’s currently the same list
(
https://www.wikidata.org/w/api.php?action=query&meta=wbcontentlanguages…)atversion=2),
but for monolingual text there are some additional languages
(
https://www.wikidata.org/w/api.php?action=query&meta=wbcontentlanguages…)atversion=2).
Cheers,
Lucas