Jump to content

API:元

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

GET 请求以获取与页面(元数据)没有关联的信息。

API帮助文档

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:

补充资料

  • 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.

參見

  • API:列表 - Lists of pages that match certain criteria.
  • API:属性 - Properties of pages, including page revisions and content.
  • API:查詢 - Fetch data from and about MediaWiki.