MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=paraminfo
- Source: MediaWiki
- License: GPL-2.0-or-later
Obtain information about API modules.
- modules
List of module names (values of the action and format parameters, or main). Can specify submodules with a +, or all submodules with +*, or all submodules recursively with +**.
- Separate values with | or alternative.
- Maximum number of values is 50 (500 for clients that are allowed higher limits).
- helpformat
Format of help strings.
- One of the following values: html i none i raw i wikitext
- Default: none
- querymodules
- Deprecated.
List of query module names (value of prop, meta or list parameter). Use modules=query+foo instead of querymodules=foo.
- Values (separate with | or alternative): allcategories i alldeletedrevisions i allfileusages i allimages i alllinks i allmessages i allpages i allredirects i allrevisions i alltransclusions i allusers i authmanagerinfo i backlinks i blocks i categories i categoryinfo i categorymembers i codexicons i contributors i deletedrevisions i deletedrevs i duplicatefiles i embeddedin i extlinks i exturlusage i filearchive i filerepoinfo i fileusage i gadgetcategories i gadgets i imageinfo i images i imageusage i info i iwbacklinks i iwlinks i langbacklinks i langlinks i languageinfo i links i linkshere i logevents i mystashedfiles i pagepropnames i pageprops i pageswithprop i prefixsearch i protectedtitles i querypage i random i recentchanges i redirects i revisions i search i siteinfo i stashimageinfo i tags i templates i tokens i trackingcategories i transcludedin i usercontribs i userinfo i users i watchlist i watchlistraw
- Maximum number of values is 50 (500 for clients that are allowed higher limits).
- mainmodule
- Deprecated.
Get information about the main (top-level) module as well. Use modules=main instead.
- pagesetmodule
- Deprecated.
Get information about the pageset module (providing titles= and friends) as well.
- formatmodules
- Deprecated.
List of format module names (value of format parameter). Use modules instead.
- Values (separate with | or alternative): json i jsonfm i none i php i phpfm i rawfm i xml i xmlfm
- Show info for action=parse, format=jsonfm, action=query&list=allpages, and action=query&meta=siteinfo.
- api.php?action=paraminfo&modules=parse|phpfm|query%2Ballpages|query%2Bsiteinfo [open in sandbox]
- Show info for all submodules of action=query.
- api.php?action=paraminfo&modules=query%2B* [open in sandbox]