עזרה של MediaWiki API
זהו דף תיעוד של API שנוצר באופן אוטומטי.
תיעוד ודוגמאות: https://www.mediawiki.org/wiki/API
action=paraminfo
(main | paraminfo)
Obtain information about API modules.
פרמטרים:
- modules
List of module names (values of the action and format parameters, or main). Can specify submodules with a +.
- הפרדה בין ערכים נעשית באמצעות | מספר הערכים המרבי הוא 50 (עבור בוטים – 500).
- helpformat
Format of help strings.
- ערך אחד: html, wikitext, raw, none
- ברירת מחדל: none
- querymodules
- מיושן.
List of query module names (value of prop, meta or list parameter). Use modules=query+foo instead of querymodules=foo.
- ערכים (מופרדים באמצעות "|"): allcategories, alldeletedrevisions, allfileusages, allimages, alllinks, allmessages, allpages, allredirects, alltransclusions, allusers, 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, pagepropnames, pageprops, pageswithprop, prefixsearch, protectedtitles, querypage, random, recentchanges, redirects, revisions, search, siteinfo, stashimageinfo, tags, templates, tokens, transcludedin, usercontribs, userinfo, users, watchlist, watchlistraw
- מספר הערכים המרבי הוא 50 (עבור בוטים – 500).
- 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.
- ערכים (מופרדים באמצעות "|"): dbg, dbgfm, dump, dumpfm, json, jsonfm, none, php, phpfm, rawfm, txt, txtfm, wddx, wddxfm, xml, xmlfm, yaml, yamlfm