Trợ giúp về API MediaWiki
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
Lấy thông tin về các module API.
- 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 +**.
- Phân tách các giá trị bằng |.
- Maximum number of values is 50 (500 for clients allowed higher limits).
- helpformat
Định dạng chuỗi trợ giúp.
- One of the following values: html, none, raw, wikitext
- Mặc định: none
- querymodules
- Bị phản đối.
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, alldeletedrevisions, allfileusages, allimages, alllinks, allmessages, allpages, allredirects, allrevisions, alltransclusions, allusers, authmanagerinfo, backlinks, blocks, categories, categoryinfo, categorymembers, contributors, deletedrevisions, deletedrevs, duplicatefiles, embeddedin, extlinks, extracts, exturlusage, filearchive, filerepoinfo, fileusage, gadgetcategories, gadgets, imageinfo, images, imageusage, info, iwbacklinks, iwlinks, langbacklinks, langlinks, languageinfo, links, linkshere, logevents, moderationpreload, mystashedfiles, pagepropnames, pageprops, pageswithprop, prefixsearch, protectedtitles, querypage, random, recentchanges, redirects, revisions, search, siteinfo, stashimageinfo, tags, templates, tokens, transcludedin, transcodestatus, usercontribs, userinfo, users, videoinfo, watchlist, watchlistraw
- Maximum number of values is 50 (500 for clients allowed higher limits).
- mainmodule
- Bị phản đối.
Get information about the main (top-level) module as well. Use modules=main instead.
- pagesetmodule
- Bị phản đối.
Get information about the pageset module (providing titles= and friends) as well.
- formatmodules
- Bị phản đối.
List of format module names (value of format parameter). Use modules instead.
- Values (separate with | or alternative): json, jsonfm, none, php, phpfm, rawfm, xml, 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]