MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

Documentation and examples:

meta=languageinfo (li)

(main | query | languageinfo)
  • Questo modulo richiede i diritti di lettura.
  • Fonte: MediaWiki
  • Licenza: GPL-2.0-or-later

Restituisce informazioni sulle lingue disponibili.

Continuation may be applied if retrieving the information takes too long for one request.


Which information to get for each language.

The language code. (This code is MediaWiki-specific, though there are overlaps with other standards.)
Il codice lingua BCP-47.
The writing direction of the language (either ltr or rtl).
The autonym of the language, that is, the name in that language.
The name of the language in the language specified by the uselang parameter, with language fallbacks applied if necessary.
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).
The language codes of the variants supported by this language.
Valori (separati da | o alternativa): autonym, bcp47, code, dir, fallbacks, name, variants
Default: code

Language codes of the languages that should be returned, or * for all languages.

Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients allowed higher limits).
Default: *

Quando più risultati sono disponibili, usa questo per continuare.

Ottieni i codici lingua di tutte le lingue supportate.
api.php?action=query&meta=languageinfo [apri in una sandbox]
Get the autonyms and German names of all supported languages.
api.php?action=query&meta=languageinfo&liprop=autonym|name&uselang=de [apri in una sandbox]
Get the fallback languages and variants of Occitan.
api.php?action=query&meta=languageinfo&liprop=fallbacks|variants&licode=oc [apri in una sandbox]
Get the BCP-47 language code and direction of all supported languages.
api.php?action=query&meta=languageinfo&liprop=bcp47|dir [apri in una sandbox]