API:Meta

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page API:Meta and the translation is 20% complete.

Outdated translations are marked like this.
Other languages:
Deutsch • ‎English • ‎Nederlands • ‎Türkçe • ‎dansk • ‎español • ‎français • ‎română • ‎čeština • ‎български • ‎русский • ‎中文 • ‎日本語 • ‎한국어

Метазапросы возвращают информацию, не связанную со страницами.

API documentation

Metadata may include site information, information about the currently logged-in user and contents of interface messages, among others.

To make a meta query, add meta as a parameter to your request, with its value being the submodule to fetch the information you need, i.e action=query&meta=submodule.

To fetch information from several submodules in one request, use pipe-separated values like so: action=query&meta=submodule1|submodule2

See individual meta submodules below for examples on how to use meta:

Additional notes

  • In addition to meta submodules on MediaWiki core, there are also submodules from extensions that may help get more metadata. For a list which includes these submodules, see Special:ApiHelp/query.
  • Meta submodules cannot be used as a generator .

See also