API:Parameter information

From MediaWiki.org
Jump to: navigation, search

Other languages:
català • ‎Deutsch • ‎English • ‎español • ‎français • ‎Հայերեն • ‎日本語 • ‎Nederlands • ‎polski • ‎português • ‎русский
Tools clipart.png This page is part of the MediaWiki action API documentation.
MediaWiki APIsAPI:Main page

MediaWiki action API

v · d · e

Obtaining parameter information[edit | edit source]

You can obtain information about modules and their parameters through action=paraminfo.

Parameters[edit | edit source]

  • modules: A list of top-level module names (value of the action= parameter) or submodules such as query+siteprop
  • querymodules: A list of query module names (value of the prop=, meta= or list= parameter) deprecated in MW 1.25
  • mainmodule: Get information about the main (top-level) module as well. Type: bool MW 1.15+
  • pagesetmodule: Get information about the pageset module (providing titles= and friends) as well. Type: bool MW 1.15-1.24


Example[edit | edit source]

Getting information about action=parseAPI:Expanding_templates_and_rendering#parse, prop=infoAPI:Info query submodule, and a bogus query module:


Possible errors[edit | edit source]

None.