MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
action=paraminfo
(main | paraminfo)
- Kilde: MediaWiki
- Lisens: GPL-2.0-or-later
Hent informasjon om API-moduler.
Parametre:
- 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 +**.
- Separer verdier med | eller alternativ. Maksimalt antall verdier er 50 (500 for botter)
- helpformat
Format for hjelpestrenger.
- Én av følgende verdier: html, wikitext, raw, none
- Standard: none
- querymodules
- Utgått.
List of query module names (value of prop, meta or list parameter). Use modules=query+foo instead of querymodules=foo.
- Verdier (separer med | eller alternativ): allcategories, alldeletedrevisions, allfileusages, allimages, alllinks, allmessages, allpages, allredirects, allrevisions, alltransclusions, allusers, authmanagerinfo, backlinks, blocks, categories, categoryinfo, categorymembers, contributors, deletedrevisions, deletedrevs, duplicatefiles, embeddedin, extlinks, exturlusage, filearchive, filerepoinfo, fileusage, imageinfo, images, imageusage, info, iwbacklinks, iwlinks, langbacklinks, langlinks, links, linkshere, logevents, mystashedfiles, pagepropnames, pageprops, pageswithprop, prefixsearch, protectedtitles, querypage, random, recentchanges, redirects, revisions, search, siteinfo, stashimageinfo, tags, templates, tokens, transcludedin, usercontribs, userinfo, users, watchlist, watchlistraw
- Maksimalt antall verdier er 50 (500 for botter)
- mainmodule
- Utgått.
Get information about the main (top-level) module as well. Use modules=main instead.
- pagesetmodule
- Utgått.
Get information about the pageset module (providing titles= and friends) as well.
- formatmodules
- Utgått.
List of format module names (value of format parameter). Use modules instead.
- Verdier (separer med | eller alternativ): json, jsonfm, none, php, phpfm, rawfm, xml, xmlfm
Eksempler:
- 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 [åpne i sandkasse]
- Show info for all submodules of action=query.
- api.php?action=paraminfo&modules=query%2B* [åpne i sandkasse]