MediaWiki-API-Hilfe
Dies ist eine automatisch generierte MediaWiki-API-Dokumentationsseite.
Dokumentation und Beispiele: https://www.mediawiki.org/wiki/API/de
meta=languageinfo (li)
- Dieses Modul erfordert Leserechte.
 - Quelle: MediaWiki
 - Lizenz: GPL-2.0-or-later
 
Return information about available languages.
Continuation may be applied if retrieving the information takes too long for one request.
Parameter:
- liprop
 Which information to get for each language.
- code
 - The language code. (This code is MediaWiki-specific, though there are overlaps with other standards.)
 - bcp47
 - The BCP-47 language code.
 - dir
 - The writing direction of the language (either 
ltrorrtl). - autonym
 - The autonym of the language, that is, the name in that language.
 - name
 - The name of the language in the language specified by the uselang parameter, with language fallbacks applied if necessary.
 - fallbacks
 - The language codes of the fallback languages configured for this language. The implicit final fallback to 'en' is not included (but some languages may fall back to 'en' explicitly).
 - variants
 - The language codes of the variants supported by this language.
 
- Werte (mit | trennen oder Alternative): code, bcp47, dir, autonym, name, fallbacks, variants
 - Standard: code
 - licode
 Language codes of the languages that should be returned, or
*for all languages.- Werte mit | trennen oder Alternative. Maximale Anzahl der Werte ist 50 (500 für Bots).
 - Standard: *
 - licontinue
 Falls weitere Ergebnisse verfügbar sind, dies zum Fortfahren verwenden.
Beispiele:
- Get the language codes of all supported languages.
 - api.php?action=query&meta=languageinfo [in Spielwiese öffnen]
 - Get the autonyms and German names of all supported languages.
 - api.php?action=query&meta=languageinfo&liprop=autonym|name&uselang=de [in Spielwiese öffnen]
 - Get the fallback languages and variants of Occitan.
 - api.php?action=query&meta=languageinfo&liprop=fallbacks|variants&licode=oc [in Spielwiese öffnen]
 - Get the BCP-47 language code and direction of all supported languages.
 - api.php?action=query&meta=languageinfo&liprop=bcp47|dir [in Spielwiese öffnen]