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
(main | paraminfo)
- แหล่งที่มา: MediaWiki
- สัญญาอนุญาต: GPL-2.0-or-later
ขอข้อมูลเกี่ยวกับมอดูล API
Specific parameters:
Other general parameters are available.
- 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 +**.
- คั่นค่าต่าง ๆ ด้วย | หรือข้อความทดแทน
- Maximum number of values is 50 (500 for clients that are allowed higher limits).
- helpformat
รูปแบบของสตริงวิธีใช้
- ค่าใดค่าหนึ่งต่อไปนี้: html, none, raw, wikitext
- Default: none
- querymodules
- เลิกใช้แล้ว
List of query module names (value of prop, meta or list parameter). Use modules=query+foo instead of querymodules=foo.
- ค่า (คั่นด้วย | หรือข้อความทดแทน): abusefilters, abuselog, 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, imageinfo, images, imageusage, info, iwbacklinks, iwlinks, langbacklinks, langlinks, languageinfo, links, linkshere, linterrors, linterstats, logevents, mystashedfiles, notifications, oath, pageimages, pagepropnames, pageprops, pageswithprop, prefixsearch, protectedtitles, querypage, random, recentchanges, redirects, revisions, search, siteinfo, stashimageinfo, tags, templates, tokens, transcludedin, unreadnotificationpages, usercontribs, userinfo, users, watchlist, watchlistraw
- Maximum number of values is 50 (500 for clients that are allowed higher limits).
- mainmodule
- เลิกใช้แล้ว
Get information about the main (top-level) module as well. Use modules=main instead.
- pagesetmodule
- เลิกใช้แล้ว
Get information about the pageset module (providing titles= and friends) as well.
- formatmodules
- เลิกใช้แล้ว
List of format module names (value of format parameter). Use modules instead.
- ค่า (คั่นด้วย | หรือข้อความทดแทน): 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 [เปิดในกระบะทราย]
- Show info for all submodules of action=query.
- api.php?action=paraminfo&modules=query%2B* [เปิดในกระบะทราย]