MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

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

prop=metavars (mv)

(main | query | metavars)
  • This module requires read rights.
  • This module can be used as a generator.
  • Source: MetaTemplate 2
  • License: GPL-2.0-or-later

Get various values saved on the page by MetaTemplate

Parameters:
mvcontinue

When more results are available, use this to continue.

mvlimit

The maximum number of pages to return (generator only).

No more than 500 (5,000 for bots) allowed.
Type: integer or max
Default: 10
mvset

Only list values from these subsets. To get only the main set, use "mvsubset=|".

Separate values with | or alternative. Maximum number of values is 100 (500 for bots).
mvvar

Only list values with these names. Useful for checking whether a certain page uses a certain variable.

Separate values with | or alternative. Maximum number of values is 100 (500 for bots).