API:Meta
Appearance
From mediawiki.org
Languages:
This page is part of the MediaWiki Action API documentation.
| MediaWiki Action API |
|---|
| Basics |
| Authentication |
| Accounts and Users |
| Page Operations |
|
| Search |
| Developer Utilities |
| Tutorials |
| v · d · e |
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
- API:Lists – Lists of pages that match certain criteria.
- API:Properties – Properties of pages, including page revisions and content.
- API:Query – Fetch data from and about MediaWiki.
Retrieved from "https://www.mediawiki.org/w/index.php?title=API:Meta&oldid=7930386"