Довідка API MediaWiki

Це автоматично генерована сторінка документації API MediaWiki.

Документація та приклади: https://www.mediawiki.org/wiki/API

meta=languageinfo (li)

(main | query | languageinfo)
  • Цей модуль вимагає прав на читання.
  • Джерело: MediaWiki
  • Ліцензія: GPL-2.0-or-later

Return information about available languages.

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

Параметри:
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 ltr or rtl).
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.
Значення (розділені через | або альтернативу): code, bcp47, dir, autonym, name, fallbacks, variants
За замовчуванням: code
licode

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

Розділіть значення з допомогою | або альтернативу. Максимальна кількість значень — 50 (500 для ботів).
За замовчуванням: *
licontinue

Коли доступно більше результатів, використовуйте це, щоб продовжити.