Справка MediaWiki API

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/API

meta=allmessages (am)

(main | query | allmessages)
  • Этот модуль требует прав на чтение.
  • Источник: MediaWiki
  • Лицензия: GPL-2.0+

Return messages from this site.

Параметры:
ammessages

Which messages to output. * (default) means all messages.

Разделяйте значения с помощью |. Максимальное количество значений должно быть 50 (500 для ботов).
По умолчанию: *
amprop

Which properties to get.

Values (separate with |): default
amenableparser

Set to enable parser, will preprocess the wikitext of message (substitute magic words, handle templates, etc.).

Тип: двоичный (details)
amnocontent

If set, do not include the content of the messages in the output.

Тип: двоичный (details)
amincludelocal

Also include local messages, i.e. messages that don't exist in the software but do exist as a MediaWiki: page. This lists all MediaWiki: pages, so it will also list those that aren't really messages such as Common.js.

Тип: двоичный (details)
amargs

Arguments to be substituted into message.

Разделяйте значения с помощью |. Максимальное количество значений должно быть 50 (500 для ботов).
amfilter

Return only messages with names that contain this string.

amcustomised

Return only messages in this customisation state.

One value: all, modified, unmodified
По умолчанию: all
amlang

Return messages in this language.

amfrom

Return messages starting at this message.

amto

Return messages ending at this message.

amtitle

Page name to use as context when parsing message (for amenableparser option).

amprefix

Return messages with this prefix.

Примеры:
Show messages starting with ipb-.
api.php?action=query&meta=allmessages&amprefix=ipb-
Show messages august and mainpage in German.
api.php?action=query&meta=allmessages&ammessages=august|mainpage&amlang=de