Jump to content

API:Meta

From mediawiki.org
This page is a translated version of the page API:Meta and the translation is 7% complete.

GET request to fetch information which is not associated with pages (metadata).

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