/**/HotCat.start({"error":{"code":"help","info":"","*":"\n \n \n **********************************************************************************************\n ** **\n ** This is an auto-generated MediaWiki API documentation page **\n ** **\n ** Documentation and Examples: **\n ** https://www.mediawiki.org/wiki/API **\n ** **\n **********************************************************************************************\n \n Status: All features shown on this page should be working, but the API\n is still in active development, and may change at any time.\n Make sure to monitor our mailing list for any updates.\n \n Erroneous requests: When erroneous requests are sent to the API, a HTTP header will be sent\n with the key \"MediaWiki-API-Error\" and then both the value of the\n header and the error code sent back will be set to the same value.\n \n In the case of an invalid action being passed, these will have a value\n of \"unknown_action\".\n \n For more information see https://www.mediawiki.org/wiki/API:Errors_and_warnings\n \n Documentation: https://www.mediawiki.org/wiki/API:Main_page\n FAQ https://www.mediawiki.org/wiki/API:FAQ\n Mailing list: https://lists.wikimedia.org/mailman/listinfo/mediawiki-api\n Api Announcements: https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce\n Bugs & Requests: https://bugzilla.wikimedia.org/buglist.cgi?component=API&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&order=bugs.delta_ts\n \n \n \n \n \nParameters:\n format - The format of the output\n One value: json, jsonfm, php, phpfm, wddx, wddxfm, xml, xmlfm, yaml, yamlfm, rawfm, txt, txtfm, dbg, dbgfm,\n dump, dumpfm, none\n Default: xmlfm\n action - What action you would like to perform. See below for module help\n One value: login, logout, createaccount, query, expandtemplates, parse, opensearch, feedcontributions,\n feedrecentchanges, feedwatchlist, help, paraminfo, rsd, compare, tokens, purge,\n setnotificationtimestamp, rollback, delete, undelete, protect, block, unblock, move, edit, upload,\n filerevert, emailuser, watch, patrol, import, userrights, options, imagerotate, revisiondelete,\n ext.srf.slideshow.show, echomarkread, thank, flowthank, sfautocomplete, sfautoedit, smwinfo, ask,\n askargs, browsebysubject\n Default: help\n maxlag - Maximum lag can be used when MediaWiki is installed on a database replicated cluster.\n To save actions causing any more site replication lag, this parameter can make the client\n wait until the replication lag is less than the specified value.\n In case of a replag error, error code \"maxlag\" is returned, with the message like\n \"Waiting for $host: $lag seconds lagged\\n\".\n See https://www.mediawiki.org/wiki/Manual:Maxlag_parameter for more information\n smaxage - Set the s-maxage header to this many seconds. Errors are never cached\n Default: 0\n maxage - Set the max-age header to this many seconds. Errors are never cached\n Default: 0\n assert - Verify the user is logged in if set to \"user\", or has the bot userright if \"bot\"\n One value: user, bot\n requestid - Request ID to distinguish requests. This will just be output back to you\n servedby - Include the hostname that served the request in the results. Unconditionally shown on error\n origin - When accessing the API using a cross-domain AJAX request (CORS), set this to the\n originating domain. This must be included in any pre-flight request, and\n therefore must be part of the request URI (not the POST body). This must match\n one of the origins in the Origin: header exactly, so it has to be set to \n something like http://en.wikipedia.org or https://meta.wikimedia.org . If this\n parameter does not match the Origin: header, a 403 response will be returned. If\n this parameter matches the Origin: header and the origin is whitelisted, an\n Access-Control-Allow-Origin header will be set.\n\n\n*** *** *** *** *** *** *** *** *** *** *** *** *** *** Modules *** *** *** *** *** *** *** *** *** *** *** *** *** *** \n\n* action=login (lg) *\n Log in and get the authentication tokens.\n In the event of a successful log-in, a cookie will be attached to your session.\n In the event of a failed log-in, you will not be able to attempt another log-in\n through this method for 5 seconds. This is to prevent password guessing by\n automated password crackers.\n https://www.mediawiki.org/wiki/API:Login\n\nThis module only accepts POST requests\nParameters:\n lgname - User Name\n lgpassword - Password\n lgdomain - Domain (optional)\n lgtoken - Login token obtained in first request\nExample:\n api.php?action=login&lgname=user&lgpassword=password\n\n* action=logout *\n Log out and clear session data.\n https://www.mediawiki.org/wiki/API:Logout\nExample:\n Log the current user out:\n api.php?action=logout\n\n* action=createaccount *\n Create a new user account.\n https://www.mediawiki.org/wiki/API:Account_creation\n\nThis module requires write rights\nThis module only accepts POST requests\nParameters:\n name - Username\n This parameter is required\n password - Password (ignored if mailpassword is set)\n domain - Domain for external authentication (optional)\n token - Account creation token obtained in first request\n email - Email address of user (optional)\n realname - Real name of user (optional)\n mailpassword - If set to any value, a random password will be emailed to the user\n reason - Optional reason for creating the account to be put in the logs\n language - Language code to set as default for the user (optional, defaults to content language)\n captchaword - Answer to the CAPTCHA\n captchaid - CAPTCHA ID from previous request\nExamples:\n api.php?action=createaccount&name=testuser&password=test123\n api.php?action=createaccount&name=testmailuser&mailpassword=true&reason=MyReason\n\n* action=query *\n Query API module allows applications to get needed pieces of data from the MediaWiki databases,\n and is loosely based on the old query.php interface.\n All data modifications will first have to use query to acquire a token to prevent abuse from malicious sites.\n https://www.mediawiki.org/wiki/API:Query\n https://www.mediawiki.org/wiki/API:Meta\n https://www.mediawiki.org/wiki/API:Properties\n https://www.mediawiki.org/wiki/API:Lists\n\nThis module requires read rights\nParameters:\n prop - Which properties to get for the titles/revisions/pageids. Module help is available below\n Values (separate with '|'): categories, categoryinfo, contributors, duplicatefiles, extlinks, images, imageinfo, info, links,\n iwlinks, langlinks, pageprops, redirects, revisions, stashimageinfo, templates\n list - Which lists to get. Module help is available below\n Values (separate with '|'): allcategories, allfileusages, allimages, alllinks, allpages, allredirects, alltransclusions,\n allusers, backlinks, blocks, categorymembers, deletedrevs, embeddedin, exturlusage, filearchive,\n imageusage, iwbacklinks, langbacklinks, logevents, pageswithprop, pagepropnames, prefixsearch,\n protectedtitles, querypage, random, recentchanges, search, tags, usercontribs, users, watchlist,\n watchlistraw, gadgetcategories, gadgets\n meta - Which metadata to get about the site. Module help is available below\n Values (separate with '|'): allmessages, siteinfo, userinfo, filerepoinfo, notifications\n indexpageids - Include an additional pageids section listing all returned page IDs\n export - Export the current revisions of all given or generated pages\n exportnowrap - Return the export XML without wrapping it in an XML result (same format as Special:Export). Can only be used with export\n iwurl - Whether to get the full URL if the title is an interwiki link\n continue - When present, formats query-continue as key-value pairs that should simply be merged into the original request.\n This parameter must be set to an empty string in the initial query.\n This parameter is recommended for all new development, and will be made default in the next API version.\n titles - A list of titles to work on\n Separate values with '|'\n Maximum number of values 50 (500 for bots)\n pageids - A list of page IDs to work on\n Separate values with '|'\n Maximum number of values 50 (500 for bots)\n revids - A list of revision IDs to work on\n Separate values with '|'\n Maximum number of values 50 (500 for bots)\n redirects - Automatically resolve redirects\n converttitles - Convert titles to other variants if necessary. Only works if the wiki's content language supports variant conversion.\n Languages that support variant conversion include gan, iu, kk, ku, shi, sr, tg, uz, zh\n generator - Get the list of pages to work on by executing the specified query module.\n NOTE: generator parameter names must be prefixed with a 'g', see examples\n One value: allcategories, allfileusages, allimages, alllinks, allpages, allredirects, alltransclusions,\n backlinks, categories, categorymembers, duplicatefiles, embeddedin, exturlusage, images, imageusage,\n iwbacklinks, langbacklinks, links, pageswithprop, prefixsearch, protectedtitles, querypage, random,\n recentchanges, redirects, search, templates, watchlist, watchlistraw\nExamples:\n api.php?action=query&prop=revisions&meta=siteinfo&titles=Main%20Page&rvprop=user|comment&continue=\n api.php?action=query&generator=allpages&gapprefix=API/&prop=revisions&continue=\n\n--- --- --- --- --- --- --- --- --- --- --- --- Query: Prop --- --- --- --- --- --- --- --- --- --- --- --- \n\n* prop=categories (cl) *\n List all categories the page(s) belong to.\n https://www.mediawiki.org/wiki/API:Properties#categories_.2F_cl\n\nThis module requires read rights\nParameters:\n clprop - Which additional properties to get for each category\n sortkey - Adds the sortkey (hexadecimal string) and sortkey prefix\n (human-readable part) for the category\n timestamp - Adds timestamp of when the category was added\n hidden - Tags categories that are hidden with __HIDDENCAT__\n Values (separate with '|'): sortkey, timestamp, hidden\n clshow - Which kind of categories to show\n Values (separate with '|'): hidden, !hidden\n cllimit - How many categories to return\n No more than 500 (5000 for bots) allowed\n Default: 10\n clcontinue - When more results are available, use this to continue\n clcategories - Only list these categories. Useful for checking whether a certain page is in a certain category\n Separate values with '|'\n Maximum number of values 50 (500 for bots)\n cldir - The direction in which to list\n One value: ascending, descending\n Default: ascending\nExamples:\n Get a list of categories [[Albert Einstein]] belongs to:\n api.php?action=query&prop=categories&titles=Albert%20Einstein\n Get information about all categories used in the [[Albert Einstein]]:\n api.php?action=query&generator=categories&titles=Albert%20Einstein&prop=info\nGenerator:\n This module may be used as a generator\n\n* prop=categoryinfo (ci) *\n Returns information about the given categories.\n https://www.mediawiki.org/wiki/API:Properties#categoryinfo_.2F_ci\n\nThis module requires read rights\nParameters:\n cicontinue - When more results are available, use this to continue\nExample:\n api.php?action=query&prop=categoryinfo&titles=Category:Foo|Category:Bar\n\n* prop=contributors (pc) *\n Get the list of logged-in contributors and the count of anonymous contributors to a page.\n https://www.mediawiki.org/wiki/API:Properties#contributors_.2F_pc\n\nThis module requires read rights\nParameters:\n pcgroup - Limit users to given group name(s)\n Does not include implicit or auto-promoted groups like *, user, or autoconfirmed\n Values (separate with '|'): bot, sysop, bureaucrat, PremiumUsers, widgeteditor, smwadministrator\n pcexcludegroup - Exclude users in given group name(s)\n Does not include implicit or auto-promoted groups like *, user, or autoconfirmed\n Values (separate with '|'): bot, sysop, bureaucrat, PremiumUsers, widgeteditor, smwadministrator\n pcrights - Limit users to those having given right(s)\n Does not include rights granted by implicit or auto-promoted groups like *, user, or autoconfirmed\n Values (separate with '|'): apihighlimits, autoconfirmed, autopatrol, bigdelete, block, blockemail, bot, browsearchive,\n createaccount, createpage, createtalk, delete, deletedhistory, deletedtext, deletelogentry,\n deleterevision, edit, editcontentmodel, editinterface, editprotected, editmyoptions,\n editmyprivateinfo, editmyusercss, editmyuserjs, editmywatchlist, editsemiprotected, editusercssjs,\n editusercss, edituserjs, hideuser, import, importupload, ipblock-exempt, markbotedits, mergehistory,\n minoredit, move, movefile, move-rootuserpages, move-subpages, nominornewtalk, noratelimit,\n override-export-depth, passwordreset, patrol, patrolmarks, protect, proxyunbannable, purge, read,\n reupload, reupload-own, reupload-shared, rollback, sendemail, siteadmin, suppressionlog,\n suppressredirect, suppressrevision, unblockself, undelete, unwatchedpages, upload, upload_by_url,\n userrights, userrights-interwiki, viewmyprivateinfo, viewmywatchlist, writeapi, skipcaptcha,\n replacetext, editwidgets, viewedittab, editrestrictedfields, createclass, smw-admin\n Maximum number of values 50 (500 for bots)\n pcexcluderights - Limit users to those not having given right(s)\n Does not include rights granted by implicit or auto-promoted groups like *, user, or autoconfirmed\n Values (separate with '|'): apihighlimits, autoconfirmed, autopatrol, bigdelete, block, blockemail, bot, browsearchive,\n createaccount, createpage, createtalk, delete, deletedhistory, deletedtext, deletelogentry,\n deleterevision, edit, editcontentmodel, editinterface, editprotected, editmyoptions,\n editmyprivateinfo, editmyusercss, editmyuserjs, editmywatchlist, editsemiprotected, editusercssjs,\n editusercss, edituserjs, hideuser, import, importupload, ipblock-exempt, markbotedits, mergehistory,\n minoredit, move, movefile, move-rootuserpages, move-subpages, nominornewtalk, noratelimit,\n override-export-depth, passwordreset, patrol, patrolmarks, protect, proxyunbannable, purge, read,\n reupload, reupload-own, reupload-shared, rollback, sendemail, siteadmin, suppressionlog,\n suppressredirect, suppressrevision, unblockself, undelete, unwatchedpages, upload, upload_by_url,\n userrights, userrights-interwiki, viewmyprivateinfo, viewmywatchlist, writeapi, skipcaptcha,\n replacetext, editwidgets, viewedittab, editrestrictedfields, createclass, smw-admin\n Maximum number of values 50 (500 for bots)\n pclimit - How many contributors to return\n No more than 500 (5000 for bots) allowed\n Default: 10\n pccontinue - When more results are available, use this to continue\nExample:\n api.php?action=query&prop=contributors&titles=Main_Page\n\n* prop=duplicatefiles (df) *\n List all files that are duplicates of the given file(s) based on hash values.\n https://www.mediawiki.org/wiki/API:Properties#duplicatefiles_.2F_df\n\nThis module requires read rights\nParameters:\n dflimit - How many duplicate files to return\n No more than 500 (5000 for bots) allowed\n Default: 10\n dfcontinue - When more results are available, use this to continue\n dfdir - The direction in which to list\n One value: ascending, descending\n Default: ascending\n dflocalonly - Look only for files in the local repository\nExamples:\n api.php?action=query&titles=File:Albert_Einstein_Head.jpg&prop=duplicatefiles\n api.php?action=query&generator=allimages&prop=duplicatefiles\nGenerator:\n This module may be used as a generator\n\n* prop=extlinks (el) *\n Returns all external URLs (not interwikis) from the given page(s).\n https://www.mediawiki.org/wiki/API:Properties#extlinks_.2F_el\n\nThis module requires read rights\nParameters:\n ellimit - How many links to return\n No more than 500 (5000 for bots) allowed\n Default: 10\n eloffset - When more results are available, use this to continue\n elprotocol - Protocol of the URL. If empty and elquery set, the protocol is http.\n Leave both this and elquery empty to list all external links\n Can be empty, or One value: http, https, ftp, ftps, ssh, sftp, irc, ircs, xmpp, sip, sips, gopher, telnet, nntp, worldwind,\n mailto, tel, sms, news, svn, git, mms, bitcoin, magnet, urn, geo\n Default: \n elquery - Search string without protocol. Useful for checking whether a certain page contains a certain external url\n elexpandurl - Expand protocol-relative URLs with the canonical protocol\nExample:\n Get a list of external links on the [[Main Page]]:\n api.php?action=query&prop=extlinks&titles=Main%20Page\n\n* prop=imageinfo (ii) *\n Returns image information and upload history.\n https://www.mediawiki.org/wiki/API:Properties#imageinfo_.2F_ii\n\nThis module requires read rights\nParameters:\n iiprop - What image information to get:\n timestamp - Adds timestamp for the uploaded version\n user - Adds the user who uploaded the image version\n userid - Add the user ID that uploaded the image version\n comment - Comment on the version\n parsedcomment - Parse the comment on the version\n canonicaltitle - Adds the canonical title of the image file\n url - Gives URL to the image and the description page\n size - Adds the size of the image in bytes and the height, width and page count (if applicable)\n dimensions - Alias for size\n sha1 - Adds SHA-1 hash for the image\n mime - Adds MIME type of the image\n thumbmime - Adds MIME type of the image thumbnail (requires url and param iiurlwidth)\n mediatype - Adds the media type of the image\n metadata - Lists Exif metadata for the version of the image\n commonmetadata - Lists file format generic metadata for the version of the image\n extmetadata - Lists formatted metadata combined from multiple sources. Results are HTML formatted.\n archivename - Adds the file name of the archive version for non-latest versions\n bitdepth - Adds the bit depth of the version\n uploadwarning - Used by the Special:Upload page to get information about an existing file. Not intended for use outside MediaWiki core\n Values (separate with '|'): timestamp, user, userid, comment, parsedcomment, canonicaltitle, url, size, dimensions, sha1, mime,\n thumbmime, mediatype, metadata, commonmetadata, extmetadata, archivename, bitdepth, uploadwarning\n Default: timestamp|user\n iilimit - How many image revisions to return per image\n No more than 500 (5000 for bots) allowed\n Default: 1\n iistart - Timestamp to start listing from\n iiend - Timestamp to stop listing at\n iiurlwidth - If iiprop=url is set, a URL to an image scaled to this width will be returned.\n For performance reasons if this option is used, no more than 50 scaled images will be returned.\n Default: -1\n iiurlheight - Similar to iiurlwidth.\n Default: -1\n iimetadataversion - Version of metadata to use. if 'latest' is specified, use latest version.\n Defaults to '1' for backwards compatibility\n Default: 1\n iiextmetadatalanguage - What language to fetch extmetadata in. This affects both which\n translation to fetch, if multiple are available, as well as how things\n like numbers and various values are formatted.\n Default: en\n iiextmetadatamultilang - If translations for extmetadata property are available, fetch all of them.\n iiextmetadatafilter - If specified and non-empty, only these keys will be returned for iiprop=extmetadata\n Separate values with '|'\n Maximum number of values 50 (500 for bots)\n iiurlparam - A handler specific parameter string. For example, pdf's \n might use 'page15-100px'. iiurlwidth must be used and be consistent with iiurlparam\n Default: \n iicontinue - If the query response includes a continue value, use it here to get another page of results\n iilocalonly - Look only for files in the local repository\nExamples:\n api.php?action=query&titles=File:Albert%20Einstein%20Head.jpg&prop=imageinfo\n api.php?action=query&titles=File:Test.jpg&prop=imageinfo&iilimit=50&iiend=20071231235959&iiprop=timestamp|user|url\n\n* prop=images (im) *\n Returns all images contained on the given page(s).\n https://www.mediawiki.org/wiki/API:Properties#images_.2F_im\n\nThis module requires read rights\nParameters:\n imlimit - How many images to return\n No more than 500 (5000 for bots) allowed\n Default: 10\n imcontinue - When more results are available, use this to continue\n imimages - Only list these images. Useful for checking whether a certain page has a certain Image.\n Separate values with '|'\n Maximum number of values 50 (500 for bots)\n imdir - The direction in which to list\n One value: ascending, descending\n Default: ascending\nExamples:\n Get a list of images used in the [[Main Page]]:\n api.php?action=query&prop=images&titles=Main%20Page\n Get information about all images used in the [[Main Page]]:\n api.php?action=query&generator=images&titles=Main%20Page&prop=info\nGenerator:\n This module may be used as a generator\n\n* prop=info (in) *\n Get basic page information such as namespace, title, last touched date, ...\n https://www.mediawiki.org/wiki/API:Properties#info_.2F_in\n\nThis module requires read rights\nParameters:\n inprop - Which additional properties to get:\n protection - List the protection level of each page\n talkid - The page ID of the talk page for each non-talk page\n watched - List the watched status of each page\n watchers - The number of watchers, if allowed\n notificationtimestamp - The watchlist notification timestamp of each page\n subjectid - The page ID of the parent page for each talk page\n url - Gives a full URL to the page, and also an edit URL\n readable - Whether the user can read this page\n preload - Gives the text returned by EditFormPreloadText\n displaytitle - Gives the way the page title is actually displayed\n Values (separate with '|'): protection, talkid, watched, watchers, notificationtimestamp, subjectid, url, readable, preload,\n displaytitle\n intoken - Request a token to perform a data-modifying action on a page\n Values (separate with '|'): \n incontinue - When more results are available, use this to continue\nExamples:\n api.php?action=query&prop=info&titles=Main%20Page\n api.php?action=query&prop=info&inprop=protection&titles=Main%20Page\n\n* prop=iwlinks (iw) *\n Returns all interwiki links from the given page(s).\n https://www.mediawiki.org/wiki/API:Iwlinks\n\nThis module requires read rights\nParameters:\n iwurl - Whether to get the full URL\n iwlimit - How many interwiki links to return\n No more than 500 (5000 for bots) allowed\n Default: 10\n iwcontinue - When more results are available, use this to continue\n iwprefix - Prefix for the interwiki\n iwtitle - Interwiki link to search for. Must be used with iwprefix\n iwdir - The direction in which to list\n One value: ascending, descending\n Default: ascending\nExample:\n Get interwiki links from the [[Main Page]]:\n api.php?action=query&prop=iwlinks&titles=Main%20Page\n\n* prop=langlinks (ll) *\n Returns all interlanguage links from the given page(s).\n https://www.mediawiki.org/wiki/API:Properties#langlinks_.2F_ll\n\nThis module requires read rights\nParameters:\n lllimit - How many langlinks to return\n No more than 500 (5000 for bots) allowed\n Default: 10\n llcontinue - When more results are available, use this to continue\n llurl - DEPRECATED! Whether to get the full URL (Cannot be used with llprop)\n llprop - Which additional properties to get for each interlanguage link\n url - Adds the full URL\n langname - Adds the localised language name (best effort, use CLDR extension)\n Use llinlanguagecode to control the language\n autonym - Adds the native language name\n Values (separate with '|'): url, langname, autonym\n lllang - Language code\n lltitle - Link to search for. Must be used with lllang\n lldir - The direction in which to list\n One value: ascending, descending\n Default: ascending\n llinlanguagecode - Language code for localised language names\n Default: en\nExample:\n Get interlanguage links from the [[Main Page]]:\n api.php?action=query&prop=langlinks&titles=Main%20Page&redirects=\n\n* prop=links (pl) *\n Returns all links from the given page(s).\n https://www.mediawiki.org/wiki/API:Properties#links_.2F_pl\n\nThis module requires read rights\nParameters:\n plnamespace - Show links in this namespace(s) only\n Values (separate with '|'): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 100, 101, 102, 103, 104, 105, 106, 107, 110,\n 111, 112, 113, 116, 117, 118, 119, 120, 121, 126, 127, 128, 129, 134, 135, 136, 137, 420, 421, 170,\n 171, 140, 141, 146, 147, 274, 275, 144, 145, 142, 143\n Maximum number of values 50 (500 for bots)\n pllimit - How many links to return\n No more than 500 (5000 for bots) allowed\n Default: 10\n plcontinue - When more results are available, use this to continue\n pltitles - Only list links to these titles. Useful for checking whether a certain page links to a certain title.\n Separate values with '|'\n Maximum number of values 50 (500 for bots)\n pldir - The direction in which to list\n One value: ascending, descending\n Default: ascending\nExamples:\n Get links from the [[Main Page]]:\n api.php?action=query&prop=links&titles=Main%20Page\n Get information about the link pages in the [[Main Page]]:\n api.php?action=query&generator=links&titles=Main%20Page&prop=info\n Get links from the Main Page in the User and Template namespaces:\n api.php?action=query&prop=links&titles=Main%20Page&plnamespace=2|10\nGenerator:\n This module may be used as a generator\n\n* prop=pageprops (pp) *\n Get various properties defined in the page content.\n https://www.mediawiki.org/wiki/API:Properties#pageprops_.2F_pp\n\nThis module requires read rights\nParameters:\n ppcontinue - When more results are available, use this to continue\n ppprop - Only list these props. Useful for checking whether a certain page uses a certain page prop\n Separate values with '|'\n Maximum number of values 50 (500 for bots)\nExample:\n api.php?action=query&prop=pageprops&titles=Category:Foo\n\n* prop=redirects (rd) *\n Returns all redirects to the given page(s).\n https://www.mediawiki.org/wiki/API:Properties#redirects_.2F_rd\n\nThis module requires read rights\nParameters:\n rdprop - Which properties to get:\n pageid - Page id of each redirect\n title - Title of each redirect\n fragment - Fragment of each redirect, if any\n Values (separate with '|'): pageid, title, fragment\n Default: pageid|title\n rdshow - Show only items that meet this criteria.\n fragment - Only show redirects with a fragment\n !fragment - Only show redirects without a fragment\n Values (separate with '|'): fragment, !fragment\n rdlimit - How many redirects to return\n No more than 500 (5000 for bots) allowed\n Default: 10\n rdcontinue - When more results are available, use this to continue\nExamples:\n Get a list of redirects to the [[Main Page]]:\n api.php?action=query&prop=redirects&titles=Main%20Page\n Get information about all redirects to the [[Main Page]]:\n api.php?action=query&generator=redirects&titles=Main%20Page&prop=info\nGenerator:\n This module may be used as a generator\n\n* prop=revisions (rv) *\n Get revision information.\n May be used in several ways:\n 1) Get data about a set of pages (last revision), by setting titles or pageids parameter.\n 2) Get revisions for one given page, by using titles/pageids with start/end/limit params.\n 3) Get data about a set of revisions by setting their IDs with revids parameter.\n All parameters marked as (enum) may only be used with a single page (#2).\n https://www.mediawiki.org/wiki/API:Properties#revisions_.2F_rv\n\nThis module requires read rights\nParameters:\n rvprop - Which properties to get for each revision:\n ids - The ID of the revision\n flags - Revision flags (minor)\n timestamp - The timestamp of the revision\n user - User that made the revision\n userid - User id of revision creator\n size - Length (bytes) of the revision\n sha1 - SHA-1 (base 16) of the revision\n contentmodel - Content model id\n comment - Comment by the user for revision\n parsedcomment - Parsed comment by the user for the revision\n content - Text of the revision\n tags - Tags for the revision\n Values (separate with '|'): ids, flags, timestamp, user, userid, size, sha1, contentmodel, comment, parsedcomment, content, tags\n Default: ids|timestamp|flags|comment|user\n rvlimit - Limit how many revisions will be returned (enum)\n No more than 500 (5000 for bots) allowed\n rvstartid - From which revision id to start enumeration (enum)\n rvendid - Stop revision enumeration on this revid (enum)\n rvstart - From which revision timestamp to start enumeration (enum)\n rvend - Enumerate up to this timestamp (enum)\n rvdir - In which direction to enumerate (enum)\n newer - List oldest first. Note: rvstart has to be before rvend.\n older - List newest first (default). Note: rvstart has to be later than rvend.\n One value: newer, older\n Default: older\n rvuser - Only include revisions made by user (enum)\n rvexcludeuser - Exclude revisions made by user (enum)\n rvtag - Only list revisions tagged with this tag\n rvexpandtemplates - Expand templates in revision content (requires rvprop=content)\n rvgeneratexml - Generate XML parse tree for revision content (requires rvprop=content)\n rvparse - Parse revision content (requires rvprop=content).\n For performance reasons if this option is used, rvlimit is enforced to 1.\n rvsection - Only retrieve the content of this section number\n rvtoken - Which tokens to obtain for each revision\n Values (separate with '|'): \n rvcontinue - When more results are available, use this to continue\n rvdiffto - Revision ID to diff each revision to.\n Use \"prev\", \"next\" and \"cur\" for the previous, next and current revision respectively\n rvdifftotext - Text to diff each revision to. Only diffs a limited number of revisions.\n Overrides rvdiffto. If rvsection is set, only that section will be\n diffed against this text\n rvcontentformat - Serialization format used for difftotext and expected for output of content\n One value: text/x-wiki, text/javascript, text/css, text/plain\nExamples:\n Get data with content for the last revision of titles \"API\" and \"Main Page\"\n api.php?action=query&prop=revisions&titles=API|Main%20Page&rvprop=timestamp|user|comment|content\n Get last 5 revisions of the \"Main Page\"\n api.php?action=query&prop=revisions&titles=Main%20Page&rvlimit=5&rvprop=timestamp|user|comment\n Get first 5 revisions of the \"Main Page\"\n api.php?action=query&prop=revisions&titles=Main%20Page&rvlimit=5&rvprop=timestamp|user|comment&rvdir=newer\n Get first 5 revisions of the \"Main Page\" made after 2006-05-01\n api.php?action=query&prop=revisions&titles=Main%20Page&rvlimit=5&rvprop=timestamp|user|comment&rvdir=newer&rvstart=20060501000000\n Get first 5 revisions of the \"Main Page\" that were not made made by anonymous user \"127.0.0.1\"\n api.php?action=query&prop=revisions&titles=Main%20Page&rvlimit=5&rvprop=timestamp|user|comment&rvexcludeuser=127.0.0.1\n Get first 5 revisions of the \"Main Page\" that were made by the user \"MediaWiki default\"\n api.php?action=query&prop=revisions&titles=Main%20Page&rvlimit=5&rvprop=timestamp|user|comment&rvuser=MediaWiki%20default\n\n* prop=stashimageinfo (sii) *\n Returns image information for stashed images.\n https://www.mediawiki.org/wiki/API:Properties#imageinfo_.2F_ii\n\nThis module requires read rights\nParameters:\n siifilekey - Key that identifies a previous upload that was stashed temporarily.\n Separate values with '|'\n Maximum number of values 50 (500 for bots)\n siisessionkey - DEPRECATED! Alias for filekey, for backward compatibility.\n Separate values with '|'\n Maximum number of values 50 (500 for bots)\n siiprop - What image information to get:\n timestamp - Adds timestamp for the uploaded version\n canonicaltitle - Adds the canonical title of the image file\n url - Gives URL to the image and the description page\n size - Adds the size of the image in bytes and the height, width and page count (if applicable)\n dimensions - Alias for size\n sha1 - Adds SHA-1 hash for the image\n mime - Adds MIME type of the image\n thumbmime - Adds MIME type of the image thumbnail (requires url and param siiurlwidth)\n metadata - Lists Exif metadata for the version of the image\n commonmetadata - Lists file format generic metadata for the version of the image\n extmetadata - Lists formatted metadata combined from multiple sources. Results are HTML formatted.\n bitdepth - Adds the bit depth of the version\n Values (separate with '|'): timestamp, canonicaltitle, url, size, dimensions, sha1, mime, thumbmime, metadata, commonmetadata,\n extmetadata, bitdepth\n Default: timestamp|url\n siiurlwidth - If siiprop=url is set, a URL to an image scaled to this width will be returned.\n Default: -1\n siiurlheight - Similar to siiurlwidth. Cannot be used without siiurlwidth\n Default: -1\n siiurlparam - A handler specific parameter string. For example, pdf's \n might use 'page15-100px'. siiurlwidth must be used and be consistent with siiurlparam\n Default: \nExamples:\n api.php?action=query&prop=stashimageinfo&siifilekey=124sd34rsdf567\n api.php?action=query&prop=stashimageinfo&siifilekey=b34edoe3|bceffd4&siiurlwidth=120&siiprop=url\n\n* prop=templates (tl) *\n Returns all templates from the given page(s).\n https://www.mediawiki.org/wiki/API:Properties#templates_.2F_tl\n\nThis module requires read rights\nParameters:\n tlnamespace - Show templates in this namespace(s) only\n Values (separate with '|'): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 100, 101, 102, 103, 104, 105, 106, 107, 110,\n 111, 112, 113, 116, 117, 118, 119, 120, 121, 126, 127, 128, 129, 134, 135, 136, 137, 420, 421, 170,\n 171, 140, 141, 146, 147, 274, 275, 144, 145, 142, 143\n Maximum number of values 50 (500 for bots)\n tllimit - How many templates to return\n No more than 500 (5000 for bots) allowed\n Default: 10\n tlcontinue - When more results are available, use this to continue\n tltemplates - Only list these templates. Useful for checking whether a certain page uses a certain template.\n Separate values with '|'\n Maximum number of values 50 (500 for bots)\n tldir - The direction in which to list\n One value: ascending, descending\n Default: ascending\nExamples:\n Get templates from the [[Main Page]]:\n api.php?action=query&prop=templates&titles=Main%20Page\n Get information about the template pages in the [[Main Page]]:\n api.php?action=query&generator=templates&titles=Main%20Page&prop=info\n Get templates from the Main Page in the User and Template namespaces:\n api.php?action=query&prop=templates&titles=Main%20Page&tlnamespace=2|10\nGenerator:\n This module may be used as a generator\n\n--- --- --- --- --- --- --- --- --- --- --- --- Query: List --- --- --- --- --- --- --- --- --- --- --- --- \n\n* list=allcategories (ac) *\n Enumerate all categories.\n https://www.mediawiki.org/wiki/API:Allcategories\n\nThis module requires read rights\nParameters:\n acfrom - The category to start enumerating from\n accontinue - When more results are available, use this to continue\n acto - The category to stop enumerating at\n acprefix - Search for all category titles that begin with this value\n acdir - Direction to sort in\n One value: ascending, descending\n Default: ascending\n acmin - Minimum number of category members\n acmax - Maximum number of category members\n aclimit - How many categories to return\n No more than 500 (5000 for bots) allowed\n Default: 10\n acprop - Which properties to get\n size - Adds number of pages in the category\n hidden - Tags categories that are hidden with __HIDDENCAT__\n Values (separate with '|'): size, hidden\n Default: \nExamples:\n api.php?action=query&list=allcategories&acprop=size\n api.php?action=query&generator=allcategories&gacprefix=List&prop=info\nGenerator:\n This module may be used as a generator\n\n* list=allfileusages (af) *\n List all file usages, including non-existing\n https://www.mediawiki.org/wiki/API:Allfileusages\n\nThis module requires read rights\nParameters:\n afcontinue - When more results are available, use this to continue\n affrom - The title of the file to start enumerating from\n afto - The title of the file to stop enumerating at\n afprefix - Search for all file titles that begin with this value\n afunique - Only show distinct file titles. Cannot be used with afprop=ids.\n When used as a generator, yields target pages instead of source pages.\n afprop - What pieces of information to include\n ids - Adds the pageid of the using page (Cannot be used with afunique)\n title - Adds the title of the file\n Values (separate with '|'): ids, title\n Default: title\n aflimit - How many total items to return\n No more than 500 (5000 for bots) allowed\n Default: 10\n afdir - The direction in which to list\n One value: ascending, descending\n Default: ascending\nExamples:\n List file titles with page ids they are from, including missing ones. Start at B:\n api.php?action=query&list=allfileusages&affrom=B&afprop=ids|title\n List unique file titles:\n api.php?action=query&list=allfileusages&afunique=&affrom=B\n Gets all file titles, marking the missing ones:\n api.php?action=query&generator=allfileusages&gafunique=&gaffrom=B\n Gets pages containing the files:\n api.php?action=query&generator=allfileusages&gaffrom=B\nGenerator:\n This module may be used as a generator\n\n* list=allimages (ai) *\n Enumerate all images sequentially.\n https://www.mediawiki.org/wiki/API:Allimages\n\nThis module requires read rights\nParameters:\n aisort - Property to sort by\n One value: name, timestamp\n Default: name\n aidir - The direction in which to list\n One value: ascending, descending, newer, older\n Default: ascending\n aifrom - The image title to start enumerating from. Can only be used with aisort=name\n aito - The image title to stop enumerating at. Can only be used with aisort=name\n aicontinue - When more results are available, use this to continue\n aistart - The timestamp to start enumerating from. Can only be used with aisort=timestamp\n aiend - The timestamp to end enumerating. Can only be used with aisort=timestamp\n aiprop - What image information to get:\n timestamp - Adds timestamp for the uploaded version\n user - Adds the user who uploaded the image version\n userid - Add the user ID that uploaded the image version\n comment - Comment on the version\n parsedcomment - Parse the comment on the version\n canonicaltitle - Adds the canonical title of the image file\n url - Gives URL to the image and the description page\n size - Adds the size of the image in bytes and the height, width and page count (if applicable)\n dimensions - Alias for size\n sha1 - Adds SHA-1 hash for the image\n mime - Adds MIME type of the image\n mediatype - Adds the media type of the image\n metadata - Lists Exif metadata for the version of the image\n commonmetadata - Lists file format generic metadata for the version of the image\n extmetadata - Lists formatted metadata combined from multiple sources. Results are HTML formatted.\n bitdepth - Adds the bit depth of the version\n Values (separate with '|'): timestamp, user, userid, comment, parsedcomment, canonicaltitle, url, size, dimensions, sha1, mime,\n mediatype, metadata, commonmetadata, extmetadata, bitdepth\n Default: timestamp|url\n aiprefix - Search for all image titles that begin with this value. Can only be used with aisort=name\n aiminsize - Limit to images with at least this many bytes\n aimaxsize - Limit to images with at most this many bytes\n aisha1 - SHA1 hash of image. Overrides aisha1base36\n aisha1base36 - SHA1 hash of image in base 36 (used in MediaWiki)\n aiuser - Only return files uploaded by this user. Can only be used with aisort=timestamp. Cannot be used together with aifilterbots\n aifilterbots - How to filter files uploaded by bots. Can only be used with aisort=timestamp. Cannot be used together with aiuser\n One value: all, bots, nobots\n Default: all\n aimime - What MIME type to search for. e.g. image/jpeg. Disabled in Miser Mode\n ailimit - How many images in total to return\n No more than 500 (5000 for bots) allowed\n Default: 10\nExamples:\n Simple Use\n Show a list of files starting at the letter \"B\":\n api.php?action=query&list=allimages&aifrom=B\n Simple Use\n Show a list of recently uploaded files similar to Special:NewFiles:\n api.php?action=query&list=allimages&aiprop=user|timestamp|url&aisort=timestamp&aidir=older\n Using as Generator\n Show info about 4 files starting at the letter \"T\":\n api.php?action=query&generator=allimages&gailimit=4&gaifrom=T&prop=imageinfo\nGenerator:\n This module may be used as a generator\n\n* list=alllinks (al) *\n Enumerate all links that point to a given namespace\n https://www.mediawiki.org/wiki/API:Alllinks\n\nThis module requires read rights\nParameters:\n alcontinue - When more results are available, use this to continue\n alfrom - The title of the link to start enumerating from\n alto - The title of the link to stop enumerating at\n alprefix - Search for all linked titles that begin with this value\n alunique - Only show distinct linked titles. Cannot be used with alprop=ids.\n When used as a generator, yields target pages instead of source pages.\n alprop - What pieces of information to include\n ids - Adds the pageid of the linking page (Cannot be used with alunique)\n title - Adds the title of the link\n Values (separate with '|'): ids, title\n Default: title\n alnamespace - The namespace to enumerate\n One value: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 100, 101, 102, 103, 104, 105, 106, 107, 110,\n 111, 112, 113, 116, 117, 118, 119, 120, 121, 126, 127, 128, 129, 134, 135, 136, 137, 420, 421, 170,\n 171, 140, 141, 146, 147, 274, 275, 144, 145, 142, 143\n Default: 0\n allimit - How many total items to return\n No more than 500 (5000 for bots) allowed\n Default: 10\n aldir - The direction in which to list\n One value: ascending, descending\n Default: ascending\nExamples:\n List linked titles with page ids they are from, including missing ones. Start at B:\n api.php?action=query&list=alllinks&alfrom=B&alprop=ids|title\n List unique linked titles:\n api.php?action=query&list=alllinks&alunique=&alfrom=B\n Gets all linked titles, marking the missing ones:\n api.php?action=query&generator=alllinks&galunique=&galfrom=B\n Gets pages containing the links:\n api.php?action=query&generator=alllinks&galfrom=B\nGenerator:\n This module may be used as a generator\n\n* list=allpages (ap) *\n Enumerate all pages sequentially in a given namespace.\n https://www.mediawiki.org/wiki/API:Allpages\n\nThis module requires read rights\nParameters:\n apfrom - The page title to start enumerating from\n apcontinue - When more results are available, use this to continue\n apto - The page title to stop enumerating at\n apprefix - Search for all page titles that begin with this value\n apnamespace - The namespace to enumerate\n One value: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 100, 101, 102, 103, 104, 105, 106, 107, 110,\n 111, 112, 113, 116, 117, 118, 119, 120, 121, 126, 127, 128, 129, 134, 135, 136, 137, 420, 421, 170,\n 171, 140, 141, 146, 147, 274, 275, 144, 145, 142, 143\n Default: 0\n apfilterredir - Which pages to list\n One value: all, redirects, nonredirects\n Default: all\n apminsize - Limit to pages with at least this many bytes\n apmaxsize - Limit to pages with at most this many bytes\n apprtype - Limit to protected pages only\n Values (separate with '|'): edit, move, upload\n apprlevel - The protection level (must be used with apprtype= parameter)\n Can be empty, or Values (separate with '|'): autoconfirmed, sysop\n apprfiltercascade - Filter protections based on cascadingness (ignored when apprtype isn't set)\n One value: cascading, noncascading, all\n Default: all\n aplimit - How many total pages to return.\n No more than 500 (5000 for bots) allowed\n Default: 10\n apdir - The direction in which to list\n One value: ascending, descending\n Default: ascending\n apfilterlanglinks - Filter based on whether a page has langlinks\n Note that this may not consider langlinks added by extensions.\n One value: withlanglinks, withoutlanglinks, all\n Default: all\n apprexpiry - Which protection expiry to filter the page on\n indefinite - Get only pages with indefinite protection expiry\n definite - Get only pages with a definite (specific) protection expiry\n all - Get pages with any protections expiry\n One value: indefinite, definite, all\n Default: all\nExamples:\n Simple Use\n Show a list of pages starting at the letter \"B\":\n api.php?action=query&list=allpages&apfrom=B\n Using as Generator\n Show info about 4 pages starting at the letter \"T\":\n api.php?action=query&generator=allpages&gaplimit=4&gapfrom=T&prop=info\n Show content of first 2 non-redirect pages beginning at \"Re\":\n api.php?action=query&generator=allpages&gaplimit=2&gapfilterredir=nonredirects&gapfrom=Re&prop=revisions&rvprop=content\nGenerator:\n This module may be used as a generator\n\n* list=allredirects (ar) *\n List all redirects to a namespace\n https://www.mediawiki.org/wiki/API:Allredirects\n\nThis module requires read rights\nParameters:\n arcontinue - When more results are available, use this to continue\n arfrom - The title of the redirect to start enumerating from\n arto - The title of the redirect to stop enumerating at\n arprefix - Search for all target pages that begin with this value\n arunique - Only show distinct target pages. Cannot be used with arprop=ids|fragment|interwiki.\n When used as a generator, yields target pages instead of source pages.\n arprop - What pieces of information to include\n ids - Adds the pageid of the redirecting page (Cannot be used with arunique)\n title - Adds the title of the redirect\n fragment - Adds the fragment from the redirect, if any (Cannot be used with arunique)\n interwiki - Adds the interwiki prefix from the redirect, if any (Cannot be used with arunique)\n Values (separate with '|'): ids, title, fragment, interwiki\n Default: title\n arnamespace - The namespace to enumerate\n One value: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 100, 101, 102, 103, 104, 105, 106, 107, 110,\n 111, 112, 113, 116, 117, 118, 119, 120, 121, 126, 127, 128, 129, 134, 135, 136, 137, 420, 421, 170,\n 171, 140, 141, 146, 147, 274, 275, 144, 145, 142, 143\n Default: 0\n arlimit - How many total items to return\n No more than 500 (5000 for bots) allowed\n Default: 10\n ardir - The direction in which to list\n One value: ascending, descending\n Default: ascending\nExamples:\n List target pages with page ids they are from, including missing ones. Start at B:\n api.php?action=query&list=allredirects&arfrom=B&arprop=ids|title\n List unique target pages:\n api.php?action=query&list=allredirects&arunique=&arfrom=B\n Gets all target pages, marking the missing ones:\n api.php?action=query&generator=allredirects&garunique=&garfrom=B\n Gets pages containing the redirects:\n api.php?action=query&generator=allredirects&garfrom=B\nGenerator:\n This module may be used as a generator\n\n* list=alltransclusions (at) *\n List all transclusions (pages embedded using {{x}}), including non-existing\n https://www.mediawiki.org/wiki/API:Alltransclusions\n\nThis module requires read rights\nParameters:\n atcontinue - When more results are available, use this to continue\n atfrom - The title of the transclusion to start enumerating from\n atto - The title of the transclusion to stop enumerating at\n atprefix - Search for all transcluded titles that begin with this value\n atunique - Only show distinct transcluded titles. Cannot be used with atprop=ids.\n When used as a generator, yields target pages instead of source pages.\n atprop - What pieces of information to include\n ids - Adds the pageid of the transcluding page (Cannot be used with atunique)\n title - Adds the title of the transclusion\n Values (separate with '|'): ids, title\n Default: title\n atnamespace - The namespace to enumerate\n One value: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 100, 101, 102, 103, 104, 105, 106, 107, 110,\n 111, 112, 113, 116, 117, 118, 119, 120, 121, 126, 127, 128, 129, 134, 135, 136, 137, 420, 421, 170,\n 171, 140, 141, 146, 147, 274, 275, 144, 145, 142, 143\n Default: 10\n atlimit - How many total items to return\n No more than 500 (5000 for bots) allowed\n Default: 10\n atdir - The direction in which to list\n One value: ascending, descending\n Default: ascending\nExamples:\n List transcluded titles with page ids they are from, including missing ones. Start at B:\n api.php?action=query&list=alltransclusions&atfrom=B&atprop=ids|title\n List unique transcluded titles:\n api.php?action=query&list=alltransclusions&atunique=&atfrom=B\n Gets all transcluded titles, marking the missing ones:\n api.php?action=query&generator=alltransclusions&gatunique=&gatfrom=B\n Gets pages containing the transclusions:\n api.php?action=query&generator=alltransclusions&gatfrom=B\nGenerator:\n This module may be used as a generator\n\n* list=allusers (au) *\n Enumerate all registered users.\n https://www.mediawiki.org/wiki/API:Allusers\n\nThis module requires read rights\nParameters:\n aufrom - The user name to start enumerating from\n auto - The user name to stop enumerating at\n auprefix - Search for all users that begin with this value\n audir - Direction to sort in\n One value: ascending, descending\n Default: ascending\n augroup - Limit users to given group name(s)\n Values (separate with '|'): bot, sysop, bureaucrat, PremiumUsers, widgeteditor, smwadministrator\n auexcludegroup - Exclude users in given group name(s)\n Values (separate with '|'): bot, sysop, bureaucrat, PremiumUsers, widgeteditor, smwadministrator\n aurights - Limit users to given right(s) (does not include rights granted by implicit or auto-promoted groups like *, user, or autoconfirmed)\n Values (separate with '|'): apihighlimits, autoconfirmed, autopatrol, bigdelete, block, blockemail, bot, browsearchive,\n createaccount, createpage, createtalk, delete, deletedhistory, deletedtext, deletelogentry,\n deleterevision, edit, editcontentmodel, editinterface, editprotected, editmyoptions,\n editmyprivateinfo, editmyusercss, editmyuserjs, editmywatchlist, editsemiprotected, editusercssjs,\n editusercss, edituserjs, hideuser, import, importupload, ipblock-exempt, markbotedits, mergehistory,\n minoredit, move, movefile, move-rootuserpages, move-subpages, nominornewtalk, noratelimit,\n override-export-depth, passwordreset, patrol, patrolmarks, protect, proxyunbannable, purge, read,\n reupload, reupload-own, reupload-shared, rollback, sendemail, siteadmin, suppressionlog,\n suppressredirect, suppressrevision, unblockself, undelete, unwatchedpages, upload, upload_by_url,\n userrights, userrights-interwiki, viewmyprivateinfo, viewmywatchlist, writeapi, skipcaptcha,\n replacetext, editwidgets, viewedittab, editrestrictedfields, createclass, smw-admin\n Maximum number of values 50 (500 for bots)\n auprop - What pieces of information to include.\n blockinfo - Adds the information about a current block on the user\n groups - Lists groups that the user is in. This uses more server resources and may return fewer results than the limit\n implicitgroups - Lists all the groups the user is automatically in\n rights - Lists rights that the user has\n editcount - Adds the edit count of the user\n registration - Adds the timestamp of when the user registered if available (may be blank)\n Values (separate with '|'): blockinfo, groups, implicitgroups, rights, editcount, registration\n aulimit - How many total user names to return\n No more than 500 (5000 for bots) allowed\n Default: 10\n auwitheditsonly - Only list users who have made edits\n auactiveusers - Only list users active in the last 30 days(s)\nExample:\n api.php?action=query&list=allusers&aufrom=Y\n\n* list=backlinks (bl) *\n Find all pages that link to the given page.\n https://www.mediawiki.org/wiki/API:Backlinks\n\nThis module requires read rights\nParameters:\n bltitle - Title to search. Cannot be used together with blpageid\n blpageid - Pageid to search. Cannot be used together with bltitle\n blcontinue - When more results are available, use this to continue\n blnamespace - The namespace to enumerate\n Values (separate with '|'): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 100, 101, 102, 103, 104, 105, 106, 107, 110,\n 111, 112, 113, 116, 117, 118, 119, 120, 121, 126, 127, 128, 129, 134, 135, 136, 137, 420, 421, 170,\n 171, 140, 141, 146, 147, 274, 275, 144, 145, 142, 143\n Maximum number of values 50 (500 for bots)\n bldir - The direction in which to list\n One value: ascending, descending\n Default: ascending\n blfilterredir - How to filter for redirects. If set to nonredirects when blredirect is enabled, this is only applied to the second level\n One value: all, redirects, nonredirects\n Default: all\n bllimit - How many total pages to return. If blredirect is enabled, limit applies to each level separately (which means you may get up to 2 * limit results).\n No more than 500 (5000 for bots) allowed\n Default: 10\n blredirect - If linking page is a redirect, find all pages that link to that redirect as well. Maximum limit is halved.\nExamples:\n api.php?action=query&list=backlinks&bltitle=Main%20Page\n api.php?action=query&generator=backlinks&gbltitle=Main%20Page&prop=info\nGenerator:\n This module may be used as a generator\n\n* list=blocks (bk) *\n List all blocked users and IP addresses.\n https://www.mediawiki.org/wiki/API:Blocks\n\nThis module requires read rights\nParameters:\n bkstart - The timestamp to start enumerating from\n bkend - The timestamp to stop enumerating at\n bkdir - In which direction to enumerate\n newer - List oldest first. Note: bkstart has to be before bkend.\n older - List newest first (default). Note: bkstart has to be later than bkend.\n One value: newer, older\n Default: older\n bkids - List of block IDs to list (optional)\n Separate values with '|'\n Maximum number of values 50 (500 for bots)\n bkusers - List of users to search for (optional)\n Separate values with '|'\n Maximum number of values 50 (500 for bots)\n bkip - Get all blocks applying to this IP or CIDR range, including range blocks.\n Cannot be used together with bkusers. CIDR ranges broader than IPv4/16 or IPv6/19 are not accepted\n bklimit - The maximum amount of blocks to list\n No more than 500 (5000 for bots) allowed\n Default: 10\n bkprop - Which properties to get\n id - Adds the ID of the block\n user - Adds the username of the blocked user\n userid - Adds the user ID of the blocked user\n by - Adds the username of the blocking user\n byid - Adds the user ID of the blocking user\n timestamp - Adds the timestamp of when the block was given\n expiry - Adds the timestamp of when the block expires\n reason - Adds the reason given for the block\n range - Adds the range of IPs affected by the block\n flags - Tags the ban with (autoblock, anononly, etc)\n Values (separate with '|'): id, user, userid, by, byid, timestamp, expiry, reason, range, flags\n Default: id|user|by|timestamp|expiry|reason|flags\n bkshow - Show only items that meet this criteria.\n For example, to see only indefinite blocks on IPs, set bkshow=ip|!temp\n Values (separate with '|'): account, !account, temp, !temp, ip, !ip, range, !range\n bkcontinue - When more results are available, use this to continue\nExamples:\n api.php?action=query&list=blocks\n api.php?action=query&list=blocks&bkusers=Alice|Bob\n\n* list=categorymembers (cm) *\n List all pages in a given category.\n https://www.mediawiki.org/wiki/API:Categorymembers\n\nThis module requires read rights\nParameters:\n cmtitle - Which category to enumerate (required). Must include 'Category:' prefix. Cannot be used together with cmpageid\n cmpageid - Page ID of the category to enumerate. Cannot be used together with cmtitle\n cmprop - What pieces of information to include\n ids - Adds the page ID\n title - Adds the title and namespace ID of the page\n sortkey - Adds the sortkey used for sorting in the category (hexadecimal string)\n sortkeyprefix - Adds the sortkey prefix used for sorting in the category (human-readable part of the sortkey)\n type - Adds the type that the page has been categorised as (page, subcat or file)\n timestamp - Adds the timestamp of when the page was included\n Values (separate with '|'): ids, title, sortkey, sortkeyprefix, type, timestamp\n Default: ids|title\n cmnamespace - Only include pages in these namespaces\n Values (separate with '|'): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 100, 101, 102, 103, 104, 105, 106, 107, 110,\n 111, 112, 113, 116, 117, 118, 119, 120, 121, 126, 127, 128, 129, 134, 135, 136, 137, 420, 421, 170,\n 171, 140, 141, 146, 147, 274, 275, 144, 145, 142, 143\n Maximum number of values 50 (500 for bots)\n cmtype - What type of category members to include. Ignored when cmsort=timestamp is set\n Values (separate with '|'): page, subcat, file\n Default: page|subcat|file\n cmcontinue - For large categories, give the value returned from previous query\n cmlimit - The maximum number of pages to return.\n No more than 500 (5000 for bots) allowed\n Default: 10\n cmsort - Property to sort by\n One value: sortkey, timestamp\n Default: sortkey\n cmdir - In which direction to sort\n One value: asc, desc, ascending, descending, newer, older\n Default: ascending\n cmstart - Timestamp to start listing from. Can only be used with cmsort=timestamp\n cmend - Timestamp to end listing at. Can only be used with cmsort=timestamp\n cmstartsortkey - Sortkey to start listing from. Must be given in binary format. Can only be used with cmsort=sortkey\n cmendsortkey - Sortkey to end listing at. Must be given in binary format. Can only be used with cmsort=sortkey\n cmstartsortkeyprefix - Sortkey prefix to start listing from. Can only be used with cmsort=sortkey. Overrides cmstartsortkey\n cmendsortkeyprefix - Sortkey prefix to end listing BEFORE (not at, if this value occurs it will not be included!). Can only be used with cmsort=sortkey. Overrides cmendsortkey\nExamples:\n Get first 10 pages in [[Category:Physics]]:\n api.php?action=query&list=categorymembers&cmtitle=Category:Physics\n Get page info about first 10 pages in [[Category:Physics]]:\n api.php?action=query&generator=categorymembers&gcmtitle=Category:Physics&prop=info\nGenerator:\n This module may be used as a generator\n\n* list=deletedrevs (dr) *\n List deleted revisions.\n Operates in three modes:\n 1) List deleted revisions for the given title(s), sorted by timestamp.\n 2) List deleted contributions for the given user, sorted by timestamp (no titles specified).\n 3) List all deleted revisions in the given namespace, sorted by title and timestamp\n (no titles specified, druser not set).\n Certain parameters only apply to some modes and are ignored in others.\n For instance, a parameter marked (1) only applies to mode 1 and is ignored in modes 2 and 3.\n https://www.mediawiki.org/wiki/API:Deletedrevs\n\nThis module requires read rights\nParameters:\n drstart - The timestamp to start enumerating from (1, 2)\n drend - The timestamp to stop enumerating at (1, 2)\n drdir - In which direction to enumerate (1, 3)\n newer - List oldest first. Note: drstart has to be before drend.\n older - List newest first (default). Note: drstart has to be later than drend.\n One value: newer, older\n Default: older\n drfrom - Start listing at this title (3)\n drto - Stop listing at this title (3)\n drprefix - Search for all page titles that begin with this value (3)\n drcontinue - When more results are available, use this to continue\n drunique - List only one revision for each page (3)\n drtag - Only list revisions tagged with this tag\n druser - Only list revisions by this user\n drexcludeuser - Don't list revisions by this user\n drnamespace - Only list pages in this namespace (3)\n One value: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 100, 101, 102, 103, 104, 105, 106, 107, 110,\n 111, 112, 113, 116, 117, 118, 119, 120, 121, 126, 127, 128, 129, 134, 135, 136, 137, 420, 421, 170,\n 171, 140, 141, 146, 147, 274, 275, 144, 145, 142, 143\n Default: 0\n drlimit - The maximum amount of revisions to list\n No more than 500 (5000 for bots) allowed\n Default: 10\n drprop - Which properties to get\n revid - Adds the revision ID of the deleted revision\n parentid - Adds the revision ID of the previous revision to the page\n user - Adds the user who made the revision\n userid - Adds the user ID whom made the revision\n comment - Adds the comment of the revision\n parsedcomment - Adds the parsed comment of the revision\n minor - Tags if the revision is minor\n len - Adds the length (bytes) of the revision\n sha1 - Adds the SHA-1 (base 16) of the revision\n content - Adds the content of the revision\n token - Gives the edit token\n tags - Tags for the revision\n Values (separate with '|'): revid, parentid, user, userid, comment, parsedcomment, minor, len, sha1, content, token, tags\n Default: user|comment\nExamples:\n List the last deleted revisions of Main Page and Talk:Main Page, with content (mode 1):\n api.php?action=query&list=deletedrevs&titles=Main%20Page|Talk:Main%20Page&drprop=user|comment|content\n List the last 50 deleted contributions by Bob (mode 2):\n api.php?action=query&list=deletedrevs&druser=Bob&drlimit=50\n List the first 50 deleted revisions in the main namespace (mode 3):\n api.php?action=query&list=deletedrevs&drdir=newer&drlimit=50\n List the first 50 deleted pages in the Talk namespace (mode 3)::\n api.php?action=query&list=deletedrevs&drdir=newer&drlimit=50&drnamespace=1&drunique=\n\n* list=embeddedin (ei) *\n Find all pages that embed (transclude) the given title.\n https://www.mediawiki.org/wiki/API:Embeddedin\n\nThis module requires read rights\nParameters:\n eititle - Title to search. Cannot be used together with eipageid\n eipageid - Pageid to search. Cannot be used together with eititle\n eicontinue - When more results are available, use this to continue\n einamespace - The namespace to enumerate\n Values (separate with '|'): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 100, 101, 102, 103, 104, 105, 106, 107, 110,\n 111, 112, 113, 116, 117, 118, 119, 120, 121, 126, 127, 128, 129, 134, 135, 136, 137, 420, 421, 170,\n 171, 140, 141, 146, 147, 274, 275, 144, 145, 142, 143\n Maximum number of values 50 (500 for bots)\n eidir - The direction in which to list\n One value: ascending, descending\n Default: ascending\n eifilterredir - How to filter for redirects\n One value: all, redirects, nonredirects\n Default: all\n eilimit - How many total pages to return\n No more than 500 (5000 for bots) allowed\n Default: 10\nExamples:\n api.php?action=query&list=embeddedin&eititle=Template:Stub\n api.php?action=query&generator=embeddedin&geititle=Template:Stub&prop=info\nGenerator:\n This module may be used as a generator\n\n* list=exturlusage (eu) *\n Enumerate pages that contain a given URL.\n https://www.mediawiki.org/wiki/API:Exturlusage\n\nThis module requires read rights\nParameters:\n euprop - What pieces of information to include\n ids - Adds the ID of page\n title - Adds the title and namespace ID of the page\n url - Adds the URL used in the page\n Values (separate with '|'): ids, title, url\n Default: ids|title|url\n euoffset - Used for paging. Use the value returned for \"continue\"\n euprotocol - Protocol of the URL. If empty and euquery set, the protocol is http.\n Leave both this and euquery empty to list all external links\n Can be empty, or One value: http, https, ftp, ftps, ssh, sftp, irc, ircs, xmpp, sip, sips, gopher, telnet, nntp, worldwind,\n mailto, tel, sms, news, svn, git, mms, bitcoin, magnet, urn, geo\n Default: \n euquery - Search string without protocol. See [[Special:LinkSearch]]. Leave empty to list all external links\n eunamespace - The page namespace(s) to enumerate.\n Values (separate with '|'): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 100, 101, 102, 103, 104, 105, 106, 107, 110,\n 111, 112, 113, 116, 117, 118, 119, 120, 121, 126, 127, 128, 129, 134, 135, 136, 137, 420, 421, 170,\n 171, 140, 141, 146, 147, 274, 275, 144, 145, 142, 143\n Maximum number of values 50 (500 for bots)\n eulimit - How many pages to return.\n No more than 500 (5000 for bots) allowed\n Default: 10\n euexpandurl - Expand protocol-relative URLs with the canonical protocol\nExample:\n api.php?action=query&list=exturlusage&euquery=www.mediawiki.org\nGenerator:\n This module may be used as a generator\n\n* list=filearchive (fa) *\n Enumerate all deleted files sequentially.\n https://www.mediawiki.org/wiki/API:Filearchive\n\nThis module requires read rights\nParameters:\n fafrom - The image title to start enumerating from\n facontinue - When more results are available, use this to continue\n fato - The image title to stop enumerating at\n faprefix - Search for all image titles that begin with this value\n falimit - How many images to return in total\n No more than 500 (5000 for bots) allowed\n Default: 10\n fadir - The direction in which to list\n One value: ascending, descending\n Default: ascending\n fasha1 - SHA1 hash of image. Overrides fasha1base36\n fasha1base36 - SHA1 hash of image in base 36 (used in MediaWiki)\n faprop - What image information to get:\n sha1 - Adds SHA-1 hash for the image\n timestamp - Adds timestamp for the uploaded version\n user - Adds user who uploaded the image version\n size - Adds the size of the image in bytes and the height, width and page count (if applicable)\n dimensions - Alias for size\n description - Adds description the image version\n parseddescription - Parse the description on the version\n mime - Adds MIME of the image\n mediatype - Adds the media type of the image\n metadata - Lists Exif metadata for the version of the image\n bitdepth - Adds the bit depth of the version\n archivename - Adds the file name of the archive version for non-latest versions\n Values (separate with '|'): sha1, timestamp, user, size, dimensions, description, parseddescription, mime, mediatype, metadata,\n bitdepth, archivename\n Default: timestamp\nExample:\n Simple Use\n Show a list of all deleted files:\n api.php?action=query&list=filearchive\n\n* list=gadgetcategories (gc) *\n Returns a list of gadget categories\n\nThis module requires read rights\nParameters:\n gcprop - What gadget category information to get:\n name - Internal category name\n title - Category title\n members - Number of gadgets in category\n Values (separate with '|'): name, title, members\n Default: name\n gcnames - Name(s) of categories to retrieve\n Separate values with '|'\n Maximum number of values 50 (500 for bots)\nExamples:\n Get a list of existing gadget categories:\n api.php?action=query&list=gadgetcategories\n Get all information about categories named \"foo\" and \"bar\":\n api.php?action=query&list=gadgetcategories&gcnames=foo|bar&gcprop=name|title|members\n\n* list=gadgets (ga) *\n Returns a list of gadgets used on this wiki\n\nThis module requires read rights\nParameters:\n gaprop - What gadget information to get:\n id - Internal gadget ID\n metadata - The gadget metadata\n desc - Gadget description transformed into HTML (can be slow, use only if really needed)\n Values (separate with '|'): id, metadata, desc\n Default: id|metadata\n galanguage - \n gacategories - Gadgets from what categories to retrieve\n Separate values with '|'\n Maximum number of values 50 (500 for bots)\n gaids - ID(s) of gadgets to retrieve\n Separate values with '|'\n Maximum number of values 50 (500 for bots)\n gaallowedonly - List only gadgets allowed to current user\n gaenabledonly - List only gadgets enabled by current user\nExamples:\n Get a list of gadgets along with their descriptions:\n api.php?action=query&list=gadgets&gaprop=id|desc\n Get a list of gadgets with all possible properties:\n api.php?action=query&list=gadgets&gaprop=id|metadata|desc\n Get a list of gadgets belonging to category \"foo\":\n api.php?action=query&list=gadgets&gacategories=foo\n Get information about gadgets \"foo\" and \"bar\":\n api.php?action=query&list=gadgets&gaids=foo|bar&gaprop=id|desc|metadata\n Get a list of gadgets enabled by current user:\n api.php?action=query&list=gadgets&gaenabledonly\n\n* list=imageusage (iu) *\n Find all pages that use the given image title.\n https://www.mediawiki.org/wiki/API:Imageusage\n\nThis module requires read rights\nParameters:\n iutitle - Title to search. Cannot be used together with iupageid\n iupageid - Pageid to search. Cannot be used together with iutitle\n iucontinue - When more results are available, use this to continue\n iunamespace - The namespace to enumerate\n Values (separate with '|'): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 100, 101, 102, 103, 104, 105, 106, 107, 110,\n 111, 112, 113, 116, 117, 118, 119, 120, 121, 126, 127, 128, 129, 134, 135, 136, 137, 420, 421, 170,\n 171, 140, 141, 146, 147, 274, 275, 144, 145, 142, 143\n Maximum number of values 50 (500 for bots)\n iudir - The direction in which to list\n One value: ascending, descending\n Default: ascending\n iufilterredir - How to filter for redirects. If set to nonredirects when iuredirect is enabled, this is only applied to the second level\n One value: all, redirects, nonredirects\n Default: all\n iulimit - How many total pages to return. If iuredirect is enabled, limit applies to each level separately (which means you may get up to 2 * limit results).\n No more than 500 (5000 for bots) allowed\n Default: 10\n iuredirect - If linking page is a redirect, find all pages that link to that redirect as well. Maximum limit is halved.\nExamples:\n api.php?action=query&list=imageusage&iutitle=File:Albert%20Einstein%20Head.jpg\n api.php?action=query&generator=imageusage&giutitle=File:Albert%20Einstein%20Head.jpg&prop=info\nGenerator:\n This module may be used as a generator\n\n* list=iwbacklinks (iwbl) *\n Find all pages that link to the given interwiki link.\n Can be used to find all links with a prefix, or\n all links to a title (with a given prefix).\n Using neither parameter is effectively \"All IW Links\".\n https://www.mediawiki.org/wiki/API:Iwbacklinks\n\nThis module requires read rights\nParameters:\n iwblprefix - Prefix for the interwiki\n iwbltitle - Interwiki link to search for. Must be used with iwblprefix\n iwblcontinue - When more results are available, use this to continue\n iwbllimit - How many total pages to return\n No more than 500 (5000 for bots) allowed\n Default: 10\n iwblprop - Which properties to get\n iwprefix - Adds the prefix of the interwiki\n iwtitle - Adds the title of the interwiki\n Values (separate with '|'): iwprefix, iwtitle\n Default: \n iwbldir - The direction in which to list\n One value: ascending, descending\n Default: ascending\nExamples:\n api.php?action=query&list=iwbacklinks&iwbltitle=Test&iwblprefix=wikibooks\n api.php?action=query&generator=iwbacklinks&giwbltitle=Test&giwblprefix=wikibooks&prop=info\nGenerator:\n This module may be used as a generator\n\n* list=langbacklinks (lbl) *\n Find all pages that link to the given language link.\n Can be used to find all links with a language code, or\n all links to a title (with a given language).\n Using neither parameter is effectively \"All Language Links\".\n Note that this may not consider language links added by extensions.\n https://www.mediawiki.org/wiki/API:Langbacklinks\n\nThis module requires read rights\nParameters:\n lbllang - Language for the language link\n lbltitle - Language link to search for. Must be used with lbllang\n lblcontinue - When more results are available, use this to continue\n lbllimit - How many total pages to return\n No more than 500 (5000 for bots) allowed\n Default: 10\n lblprop - Which properties to get\n lllang - Adds the language code of the language link\n lltitle - Adds the title of the language link\n Values (separate with '|'): lllang, lltitle\n Default: \n lbldir - The direction in which to list\n One value: ascending, descending\n Default: ascending\nExamples:\n api.php?action=query&list=langbacklinks&lbltitle=Test&lbllang=fr\n api.php?action=query&generator=langbacklinks&glbltitle=Test&glbllang=fr&prop=info\nGenerator:\n This module may be used as a generator\n\n* list=logevents (le) *\n Get events from logs.\n https://www.mediawiki.org/wiki/API:Logevents\n\nThis module requires read rights\nParameters:\n leprop - Which properties to get\n ids - Adds the ID of the log event\n title - Adds the title of the page for the log event\n type - Adds the type of log event\n user - Adds the user responsible for the log event\n userid - Adds the user ID who was responsible for the log event\n timestamp - Adds the timestamp for the event\n comment - Adds the comment of the event\n parsedcomment - Adds the parsed comment of the event\n details - Lists additional details about the event\n tags - Lists tags for the event\n Values (separate with '|'): ids, title, type, user, userid, timestamp, comment, parsedcomment, details, tags\n Default: ids|title|type|user|timestamp|comment|details\n letype - Filter log entries to only this type\n Can be empty, or One value: block, protect, rights, delete, upload, move, import, patrol, merge, suppress, thanks, newusers\n leaction - Filter log actions to only this action. Overrides letype\n Wildcard actions like 'action/*' allows to specify any string for the asterisk\n One value: block/block, block/unblock, block/reblock, protect/protect, protect/modify, protect/unprotect,\n protect/move_prot, upload/upload, upload/overwrite, upload/revert, import/upload, import/interwiki,\n merge/merge, suppress/block, suppress/reblock, move/move, move/move_redir, delete/delete,\n delete/restore, delete/revision, delete/event, suppress/revision, suppress/event, suppress/delete,\n patrol/patrol, rights/rights, rights/autopromote, thanks/*, newusers/newusers, newusers/create,\n newusers/create2, newusers/byemail, newusers/autocreate\n lestart - The timestamp to start enumerating from\n leend - The timestamp to end enumerating\n ledir - In which direction to enumerate\n newer - List oldest first. Note: lestart has to be before leend.\n older - List newest first (default). Note: lestart has to be later than leend.\n One value: newer, older\n Default: older\n leuser - Filter entries to those made by the given user\n letitle - Filter entries to those related to a page\n leprefix - Filter entries that start with this prefix. Disabled in Miser Mode\n letag - Only list event entries tagged with this tag\n lelimit - How many total event entries to return\n No more than 500 (5000 for bots) allowed\n Default: 10\n lecontinue - When more results are available, use this to continue\nExample:\n api.php?action=query&list=logevents\n\n* list=pagepropnames (ppn) *\n List all page prop names in use on the wiki.\n https://www.mediawiki.org/wiki/API:Pagepropnames\n\nThis module requires read rights\nParameters:\n ppncontinue - When more results are available, use this to continue\n ppnlimit - The maximum number of pages to return\n No more than 500 (5000 for bots) allowed\n Default: 10\nExample:\n Get first 10 prop names:\n api.php?action=query&list=pagepropnames\n\n* list=pageswithprop (pwp) *\n List all pages using a given page prop.\n https://www.mediawiki.org/wiki/API:Pageswithprop\n\nThis module requires read rights\nParameters:\n pwppropname - Page prop for which to enumerate pages\n This parameter is required\n pwpprop - What pieces of information to include\n ids - Adds the page ID\n title - Adds the title and namespace ID of the page\n value - Adds the value of the page prop\n Values (separate with '|'): ids, title, value\n Default: ids|title\n pwpcontinue - When more results are available, use this to continue\n pwplimit - The maximum number of pages to return\n No more than 500 (5000 for bots) allowed\n Default: 10\n pwpdir - In which direction to sort\n One value: ascending, descending\n Default: ascending\nExamples:\n Get first 10 pages using {{DISPLAYTITLE:}}:\n api.php?action=query&list=pageswithprop&pwppropname=displaytitle&pwpprop=ids|title|value\n Get page info about first 10 pages using __NOTOC__:\n api.php?action=query&generator=pageswithprop&gpwppropname=notoc&prop=info\nGenerator:\n This module may be used as a generator\n\n* list=prefixsearch (ps) *\n Perform a prefix search for page titles\n https://www.mediawiki.org/wiki/API:Prefixsearch\n\nThis module requires read rights\nParameters:\n pssearch - Search string\n This parameter is required\n psnamespace - Namespaces to search\n Values (separate with '|'): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 100, 101, 102, 103, 104, 105, 106, 107, 110,\n 111, 112, 113, 116, 117, 118, 119, 120, 121, 126, 127, 128, 129, 134, 135, 136, 137, 420, 421, 170,\n 171, 140, 141, 146, 147, 274, 275, 144, 145, 142, 143\n Maximum number of values 50 (500 for bots)\n Default: 0\n pslimit - Maximum amount of results to return\n No more than 100 (200 for bots) allowed\n Default: 10\nExample:\n api.php?action=query&list=prefixsearch&pssearch=meaning\nGenerator:\n This module may be used as a generator\n\n* list=protectedtitles (pt) *\n List all titles protected from creation.\n https://www.mediawiki.org/wiki/API:Protectedtitles\n\nThis module requires read rights\nParameters:\n ptnamespace - Only list titles in these namespaces\n Values (separate with '|'): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 100, 101, 102, 103, 104, 105, 106, 107, 110,\n 111, 112, 113, 116, 117, 118, 119, 120, 121, 126, 127, 128, 129, 134, 135, 136, 137, 420, 421, 170,\n 171, 140, 141, 146, 147, 274, 275, 144, 145, 142, 143\n Maximum number of values 50 (500 for bots)\n ptlevel - Only list titles with these protection levels\n Values (separate with '|'): autoconfirmed, sysop\n ptlimit - How many total pages to return\n No more than 500 (5000 for bots) allowed\n Default: 10\n ptdir - In which direction to enumerate\n newer - List oldest first. Note: ptstart has to be before ptend.\n older - List newest first (default). Note: ptstart has to be later than ptend.\n One value: newer, older\n Default: older\n ptstart - Start listing at this protection timestamp\n ptend - Stop listing at this protection timestamp\n ptprop - Which properties to get\n timestamp - Adds the timestamp of when protection was added\n user - Adds the user that added the protection\n userid - Adds the user id that added the protection\n comment - Adds the comment for the protection\n parsedcomment - Adds the parsed comment for the protection\n expiry - Adds the timestamp of when the protection will be lifted\n level - Adds the protection level\n Values (separate with '|'): timestamp, user, userid, comment, parsedcomment, expiry, level\n Default: timestamp|level\n ptcontinue - When more results are available, use this to continue\nExample:\n api.php?action=query&list=protectedtitles\nGenerator:\n This module may be used as a generator\n\n* list=querypage (qp) *\n Get a list provided by a QueryPage-based special page.\n https://www.mediawiki.org/wiki/API:Querypage\n\nThis module requires read rights\nParameters:\n qppage - The name of the special page. Note, this is case sensitive\n This parameter is required\n One value: Ancientpages, BrokenRedirects, Deadendpages, DoubleRedirects, ListDuplicatedFiles, Listredirects,\n Lonelypages, Longpages, Mostcategories, Mostimages, Mostinterwikis, Mostlinkedcategories,\n Mostlinkedtemplates, Mostlinked, Mostrevisions, Fewestrevisions, Shortpages,\n Uncategorizedcategories, Uncategorizedpages, Uncategorizedimages, Uncategorizedtemplates,\n Unusedcategories, Unusedimages, Wantedcategories, Wantedfiles, Wantedpages, Wantedtemplates,\n Unwatchedpages, Unusedtemplates, Withoutinterwiki, Popularpages\n qpoffset - When more results are available, use this to continue\n Default: 0\n qplimit - Number of results to return\n No more than 500 (5000 for bots) allowed\n Default: 10\nExample:\n api.php?action=query&list=querypage&qppage=Ancientpages\nGenerator:\n This module may be used as a generator\n\n* list=random (rn) *\n Get a set of random pages.\n NOTE: Pages are listed in a fixed sequence, only the starting point is random.\n This means that if, for example, \"Main Page\" is the first random page on\n your list, \"List of fictional monkeys\" will *always* be second, \"List of\n people on stamps of Vanuatu\" third, etc.\n NOTE: If the number of pages in the namespace is lower than rnlimit, you will\n get fewer pages. You will not get the same page twice.\n https://www.mediawiki.org/wiki/API:Random\n\nThis module requires read rights\nParameters:\n rnnamespace - Return pages in these namespaces only\n Values (separate with '|'): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 100, 101, 102, 103, 104, 105, 106, 107, 110,\n 111, 112, 113, 116, 117, 118, 119, 120, 121, 126, 127, 128, 129, 134, 135, 136, 137, 420, 421, 170,\n 171, 140, 141, 146, 147, 274, 275, 144, 145, 142, 143\n Maximum number of values 50 (500 for bots)\n rnlimit - Limit how many random pages will be returned\n No more than 10 (20 for bots) allowed\n Default: 1\n rnredirect - Load a random redirect instead of a random page\nExample:\n api.php?action=query&list=random&rnnamespace=0&rnlimit=2\nGenerator:\n This module may be used as a generator\n\n* list=recentchanges (rc) *\n Enumerate recent changes.\n https://www.mediawiki.org/wiki/API:Recentchanges\n\nThis module requires read rights\nParameters:\n rcstart - The timestamp to start enumerating from\n rcend - The timestamp to end enumerating\n rcdir - In which direction to enumerate\n newer - List oldest first. Note: rcstart has to be before rcend.\n older - List newest first (default). Note: rcstart has to be later than rcend.\n One value: newer, older\n Default: older\n rcnamespace - Filter log entries to only this namespace(s)\n Values (separate with '|'): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 100, 101, 102, 103, 104, 105, 106, 107, 110,\n 111, 112, 113, 116, 117, 118, 119, 120, 121, 126, 127, 128, 129, 134, 135, 136, 137, 420, 421, 170,\n 171, 140, 141, 146, 147, 274, 275, 144, 145, 142, 143\n Maximum number of values 50 (500 for bots)\n rcuser - Only list changes by this user\n rcexcludeuser - Don't list changes by this user\n rctag - Only list changes tagged with this tag\n rcprop - Include additional pieces of information\n user - Adds the user responsible for the edit and tags if they are an IP\n userid - Adds the user id responsible for the edit\n comment - Adds the comment for the edit\n parsedcomment - Adds the parsed comment for the edit\n flags - Adds flags for the edit\n timestamp - Adds timestamp of the edit\n title - Adds the page title of the edit\n ids - Adds the page ID, recent changes ID and the new and old revision ID\n sizes - Adds the new and old page length in bytes\n redirect - Tags edit if page is a redirect\n patrolled - Tags patrollable edits as being patrolled or unpatrolled\n loginfo - Adds log information (logid, logtype, etc) to log entries\n tags - Lists tags for the entry\n sha1 - Adds the content checksum for entries associated with a revision\n Values (separate with '|'): user, userid, comment, parsedcomment, flags, timestamp, title, ids, sizes, redirect, patrolled,\n loginfo, tags, sha1\n Default: title|timestamp|ids\n rctoken - Which tokens to obtain for each change\n Values (separate with '|'): \n rcshow - Show only items that meet this criteria.\n For example, to see only minor edits done by logged-in users, set rcshow=minor|!anon\n Values (separate with '|'): minor, !minor, bot, !bot, anon, !anon, redirect, !redirect, patrolled, !patrolled, unpatrolled\n rclimit - How many total changes to return\n No more than 500 (5000 for bots) allowed\n Default: 10\n rctype - Which types of changes to show\n Values (separate with '|'): edit, external, new, log\n rctoponly - Only list changes which are the latest revision\n rccontinue - When more results are available, use this to continue\nExample:\n api.php?action=query&list=recentchanges\nGenerator:\n This module may be used as a generator\n\n* list=search (sr) *\n Perform a full text search.\n https://www.mediawiki.org/wiki/API:Search\n\nThis module requires read rights\nParameters:\n srsearch - Search for all page titles (or content) that has this value\n This parameter is required\n srnamespace - The namespace(s) to enumerate\n Values (separate with '|'): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 100, 101, 102, 103, 104, 105, 106, 107, 110,\n 111, 112, 113, 116, 117, 118, 119, 120, 121, 126, 127, 128, 129, 134, 135, 136, 137, 420, 421, 170,\n 171, 140, 141, 146, 147, 274, 275, 144, 145, 142, 143\n Maximum number of values 50 (500 for bots)\n Default: 0\n srwhat - Search inside the text or titles\n One value: title, text, nearmatch\n srinfo - What metadata to return\n Values (separate with '|'): totalhits, suggestion\n Default: totalhits|suggestion\n srprop - What properties to return\n size - Adds the size of the page in bytes\n wordcount - Adds the word count of the page\n timestamp - Adds the timestamp of when the page was last edited\n score - Adds the score (if any) from the search engine\n snippet - Adds a parsed snippet of the page\n titlesnippet - Adds a parsed snippet of the page title\n redirectsnippet - Adds a parsed snippet of the redirect title\n redirecttitle - Adds the title of the matching redirect\n sectionsnippet - Adds a parsed snippet of the matching section title\n sectiontitle - Adds the title of the matching section\n hasrelated - Indicates whether a related search is available\n Values (separate with '|'): size, wordcount, timestamp, score, snippet, titlesnippet, redirecttitle, redirectsnippet,\n sectiontitle, sectionsnippet, hasrelated\n Default: size|wordcount|timestamp|snippet\n sroffset - Use this value to continue paging (return by query)\n Default: 0\n srlimit - How many total pages to return\n No more than 50 (500 for bots) allowed\n Default: 10\n srinterwiki - Include interwiki results in the search, if available\nExamples:\n api.php?action=query&list=search&srsearch=meaning\n api.php?action=query&list=search&srwhat=text&srsearch=meaning\n api.php?action=query&generator=search&gsrsearch=meaning&prop=info\nGenerator:\n This module may be used as a generator\n\n* list=tags (tg) *\n List change tags.\n https://www.mediawiki.org/wiki/API:Tags\n\nThis module requires read rights\nParameters:\n tgcontinue - When more results are available, use this to continue\n tglimit - The maximum number of tags to list\n No more than 500 (5000 for bots) allowed\n Default: 10\n tgprop - Which properties to get\n name - Adds name of tag\n displayname - Adds system message for the tag\n description - Adds description of the tag\n hitcount - Adds the amount of revisions that have this tag\n Values (separate with '|'): name, displayname, description, hitcount\n Default: name\nExample:\n api.php?action=query&list=tags&tgprop=displayname|description|hitcount\n\n* list=usercontribs (uc) *\n Get all edits by a user.\n https://www.mediawiki.org/wiki/API:Usercontribs\n\nThis module requires read rights\nParameters:\n uclimit - The maximum number of contributions to return\n No more than 500 (5000 for bots) allowed\n Default: 10\n ucstart - The start timestamp to return from\n ucend - The end timestamp to return to\n uccontinue - When more results are available, use this to continue\n ucuser - The users to retrieve contributions for\n Separate values with '|'\n Maximum number of values 50 (500 for bots)\n ucuserprefix - Retrieve contributions for all users whose names begin with this value.\n Overrides ucuser\n ucdir - In which direction to enumerate\n newer - List oldest first. Note: ucstart has to be before ucend.\n older - List newest first (default). Note: ucstart has to be later than ucend.\n One value: newer, older\n Default: older\n ucnamespace - Only list contributions in these namespaces\n Values (separate with '|'): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 100, 101, 102, 103, 104, 105, 106, 107, 110,\n 111, 112, 113, 116, 117, 118, 119, 120, 121, 126, 127, 128, 129, 134, 135, 136, 137, 420, 421, 170,\n 171, 140, 141, 146, 147, 274, 275, 144, 145, 142, 143\n Maximum number of values 50 (500 for bots)\n ucprop - Include additional pieces of information\n ids - Adds the page ID and revision ID\n title - Adds the title and namespace ID of the page\n timestamp - Adds the timestamp of the edit\n comment - Adds the comment of the edit\n parsedcomment - Adds the parsed comment of the edit\n size - Adds the new size of the edit\n sizediff - Adds the size delta of the edit against its parent\n flags - Adds flags of the edit\n patrolled - Tags patrolled edits\n tags - Lists tags for the edit\n Values (separate with '|'): ids, title, timestamp, comment, parsedcomment, size, sizediff, flags, patrolled, tags\n Default: ids|title|timestamp|comment|size|flags\n ucshow - Show only items that meet thse criteria, e.g. non minor edits only: ucshow=!minor\n NOTE: If ucshow=patrolled or ucshow=!patrolled is set, revisions older than\n $wgRCMaxAge (7862400) won't be shown\n Values (separate with '|'): minor, !minor, patrolled, !patrolled, top, !top, new, !new\n uctag - Only list revisions tagged with this tag\n uctoponly - DEPRECATED! Only list changes which are the latest revision\nExamples:\n api.php?action=query&list=usercontribs&ucuser=YurikBot\n api.php?action=query&list=usercontribs&ucuserprefix=217.121.114.\n\n* list=users (us) *\n Get information about a list of users.\n https://www.mediawiki.org/wiki/API:Users\n\nThis module requires read rights\nParameters:\n usprop - What pieces of information to include\n blockinfo - Tags if the user is blocked, by whom, and for what reason\n groups - Lists all the groups the user(s) belongs to\n implicitgroups - Lists all the groups a user is automatically a member of\n rights - Lists all the rights the user(s) has\n editcount - Adds the user's edit count\n registration - Adds the user's registration timestamp\n emailable - Tags if the user can and wants to receive email through [[Special:Emailuser]]\n gender - Tags the gender of the user. Returns \"male\", \"female\", or \"unknown\"\n Values (separate with '|'): blockinfo, groups, implicitgroups, rights, editcount, registration, emailable, gender\n ususers - A list of users to obtain the same information for\n Separate values with '|'\n Maximum number of values 50 (500 for bots)\n ustoken - Which tokens to obtain for each user\n Values (separate with '|'): \nExample:\n api.php?action=query&list=users&ususers=brion|TimStarling&usprop=groups|editcount|gender\n\n* list=watchlist (wl) *\n Get all recent changes to pages in the logged in user's watchlist.\n https://www.mediawiki.org/wiki/API:Watchlist\n\nThis module requires read rights\nParameters:\n wlallrev - Include multiple revisions of the same page within given timeframe\n wlstart - The timestamp to start enumerating from\n wlend - The timestamp to end enumerating\n wlnamespace - Filter changes to only the given namespace(s)\n Values (separate with '|'): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 100, 101, 102, 103, 104, 105, 106, 107, 110,\n 111, 112, 113, 116, 117, 118, 119, 120, 121, 126, 127, 128, 129, 134, 135, 136, 137, 420, 421, 170,\n 171, 140, 141, 146, 147, 274, 275, 144, 145, 142, 143\n Maximum number of values 50 (500 for bots)\n wluser - Only list changes by this user\n wlexcludeuser - Don't list changes by this user\n wldir - In which direction to enumerate\n newer - List oldest first. Note: wlstart has to be before wlend.\n older - List newest first (default). Note: wlstart has to be later than wlend.\n One value: newer, older\n Default: older\n wllimit - How many total results to return per request\n No more than 500 (5000 for bots) allowed\n Default: 10\n wlprop - Which additional items to get (non-generator mode only).\n ids - Adds revision ids and page ids\n title - Adds title of the page\n flags - Adds flags for the edit\n user - Adds the user who made the edit\n userid - Adds user id of whom made the edit\n comment - Adds comment of the edit\n parsedcomment - Adds parsed comment of the edit\n timestamp - Adds timestamp of the edit\n patrol - Tags edits that are patrolled\n sizes - Adds the old and new lengths of the page\n notificationtimestamp - Adds timestamp of when the user was last notified about the edit\n loginfo - Adds log information where appropriate\n Values (separate with '|'): ids, title, flags, user, userid, comment, parsedcomment, timestamp, patrol, sizes,\n notificationtimestamp, loginfo\n Default: ids|title|flags\n wlshow - Show only items that meet this criteria.\n For example, to see only minor edits done by logged-in users, set wlshow=minor|!anon\n Values (separate with '|'): minor, !minor, bot, !bot, anon, !anon, patrolled, !patrolled\n wltype - Which types of changes to show\n edit - Regular page edits\n external - External changes\n new - Page creations\n log - Log entries\n Values (separate with '|'): edit, external, new, log\n wlowner - The name of the user whose watchlist you'd like to access\n wltoken - Give a security token (settable in preferences) to allow access to another user's watchlist\n wlcontinue - When more results are available, use this to continue\nExamples:\n api.php?action=query&list=watchlist\n api.php?action=query&list=watchlist&wlprop=ids|title|timestamp|user|comment\n api.php?action=query&list=watchlist&wlallrev=&wlprop=ids|title|timestamp|user|comment\n api.php?action=query&generator=watchlist&prop=info\n api.php?action=query&generator=watchlist&gwlallrev=&prop=revisions&rvprop=timestamp|user\n api.php?action=query&list=watchlist&wlowner=Bob_Smith&wltoken=123ABC\nGenerator:\n This module may be used as a generator\n\n* list=watchlistraw (wr) *\n Get all pages on the logged in user's watchlist.\n https://www.mediawiki.org/wiki/API:Watchlistraw\n\nThis module requires read rights\nParameters:\n wrcontinue - When more results are available, use this to continue\n wrnamespace - Only list pages in the given namespace(s)\n Values (separate with '|'): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 100, 101, 102, 103, 104, 105, 106, 107, 110,\n 111, 112, 113, 116, 117, 118, 119, 120, 121, 126, 127, 128, 129, 134, 135, 136, 137, 420, 421, 170,\n 171, 140, 141, 146, 147, 274, 275, 144, 145, 142, 143\n Maximum number of values 50 (500 for bots)\n wrlimit - How many total results to return per request\n No more than 500 (5000 for bots) allowed\n Default: 10\n wrprop - Which additional properties to get (non-generator mode only)\n changed - Adds timestamp of when the user was last notified about the edit\n Values (separate with '|'): changed\n wrshow - Only list items that meet these criteria\n Values (separate with '|'): changed, !changed\n wrowner - The name of the user whose watchlist you'd like to access\n wrtoken - Give a security token (settable in preferences) to allow access to another user's watchlist\n wrdir - Direction to sort the titles and namespaces in\n One value: ascending, descending\n Default: ascending\nExamples:\n api.php?action=query&list=watchlistraw\n api.php?action=query&generator=watchlistraw&gwrshow=changed&prop=revisions\nGenerator:\n This module may be used as a generator\n\n--- --- --- --- --- --- --- --- --- --- --- --- Query: Meta --- --- --- --- --- --- --- --- --- --- --- --- \n\n* meta=allmessages (am) *\n Return messages from this site.\n https://www.mediawiki.org/wiki/API:Meta#allmessages_.2F_am\n\nThis module requires read rights\nParameters:\n ammessages - Which messages to output. \"*\" (default) means all messages\n Separate values with '|'\n Maximum number of values 50 (500 for bots)\n Default: *\n amprop - Which properties to get\n Values (separate with '|'): default\n amenableparser - Set to enable parser, will preprocess the wikitext of message\n Will substitute magic words, handle templates etc.\n amnocontent - If set, do not include the content of the messages in the output.\n amincludelocal - Also include local messages, i.e. messages that don't exist in the software but do exist as a MediaWiki: page.\n This lists all MediaWiki: pages, so it will also list those that aren't 'really' messages such as Common.js\n amargs - Arguments to be substituted into message\n Separate values with '|'\n Maximum number of values 50 (500 for bots)\n amfilter - Return only messages with names that contain this string\n amcustomised - Return only messages in this customisation state\n One value: all, modified, unmodified\n Default: all\n amlang - Return messages in this language\n amfrom - Return messages starting at this message\n amto - Return messages ending at this message\n amtitle - Page name to use as context when parsing message (for enableparser option)\n amprefix - Return messages with this prefix\nExamples:\n api.php?action=query&meta=allmessages&amprefix=ipb-\n api.php?action=query&meta=allmessages&ammessages=august|mainpage&amlang=de\n\n* meta=filerepoinfo (fri) *\n Return meta information about image repositories configured on the wiki.\n\nThis module requires read rights\nParameters:\n friprop - Which repository properties to get (there may be more available on some wikis):\n apiurl - URL to the repository API - helpful for getting image info from the host.\n name - The key of the repository - used in e.g. $wgForeignFileRepos and imageinfo return values.\n displayname - The human-readable name of the repository wiki.\n rooturl - Root URL for image paths.\n local - Whether that repository is the local one or not.\n Values (separate with '|'): name, displayname, rootUrl, local, url, thumbUrl, initialCapital, scriptDirUrl, fetchDescription,\n descriptionCacheExpiry, apiurl, scriptExtension, favicon\n Default: name|displayname|rootUrl|local|url|thumbUrl|initialCapital|scriptDirUrl|fetchDescription|descriptionCacheExpiry|apiurl|scriptExtension|favicon\nExample:\n api.php?action=query&meta=filerepoinfo&friprop=apiurl|name|displayname\n\n* meta=notifications (not) *\n Get notifications waiting for the current user\n https://www.mediawiki.org/wiki/Echo_(notifications)/API\n\nThis module requires read rights\nParameters:\n notprop - Details to request.\n Values (separate with '|'): list, count, index\n Default: list\n notformat - If specified, notifications will be returned formatted this way.\n One value: text, flyout, html\n notlimit - The maximum number of notifications to return.\n No more than 50 (500 for bots) allowed\n Default: 20\n notindex - If specified, a list of notification IDs, in order, will be returned.\n notcontinue - When more results are available, use this to continue\n notuselang - the desired language to format the output\nExamples:\n api.php?action=query&meta=notifications\n api.php?action=query&meta=notifications&notprop=count\n\n* meta=siteinfo (si) *\n Return general information about the site.\n https://www.mediawiki.org/wiki/API:Meta#siteinfo_.2F_si\n\nThis module requires read rights\nParameters:\n siprop - Which sysinfo properties to get:\n general - Overall system information\n namespaces - List of registered namespaces and their canonical names\n namespacealiases - List of registered namespace aliases\n specialpagealiases - List of special page aliases\n magicwords - List of magic words and their aliases\n statistics - Returns site statistics\n interwikimap - Returns interwiki map (optionally filtered, (optionally localised by using siinlanguagecode))\n dbrepllag - Returns database server with the highest replication lag\n usergroups - Returns user groups and the associated permissions\n extensions - Returns extensions installed on the wiki\n fileextensions - Returns list of file extensions allowed to be uploaded\n rightsinfo - Returns wiki rights (license) information if available\n restrictions - Returns information on available restriction (protection) types\n languages - Returns a list of languages MediaWiki supports(optionally localised by using siinlanguagecode)\n skins - Returns a list of all enabled skins\n extensiontags - Returns a list of parser extension tags\n functionhooks - Returns a list of parser function hooks\n showhooks - Returns a list of all subscribed hooks (contents of $wgHooks)\n variables - Returns a list of variable IDs\n protocols - Returns a list of protocols that are allowed in external links.\n defaultoptions - Returns the default values for user preferences.\n Values (separate with '|'): general, namespaces, namespacealiases, specialpagealiases, magicwords, interwikimap, dbrepllag,\n statistics, usergroups, extensions, fileextensions, rightsinfo, restrictions, languages, skins,\n extensiontags, functionhooks, showhooks, variables, protocols, defaultoptions\n Default: general\n sifilteriw - Return only local or only nonlocal entries of the interwiki map\n One value: local, !local\n sishowalldb - List all database servers, not just the one lagging the most\n sinumberingroup - Lists the number of users in user groups\n siinlanguagecode - Language code for localised language names (best effort, use CLDR extension)\nExamples:\n api.php?action=query&meta=siteinfo&siprop=general|namespaces|namespacealiases|statistics\n api.php?action=query&meta=siteinfo&siprop=interwikimap&sifilteriw=local\n api.php?action=query&meta=siteinfo&siprop=dbrepllag&sishowalldb=\n\n* meta=userinfo (ui) *\n Get information about the current user.\n https://www.mediawiki.org/wiki/API:Meta#userinfo_.2F_ui\n\nThis module requires read rights\nParameters:\n uiprop - What pieces of information to include\n blockinfo - Tags if the current user is blocked, by whom, and for what reason\n hasmsg - Adds a tag \"message\" if the current user has pending messages\n groups - Lists all the groups the current user belongs to\n implicitgroups - Lists all the groups the current user is automatically a member of\n rights - Lists all the rights the current user has\n changeablegroups - Lists the groups the current user can add to and remove from\n options - Lists all preferences the current user has set\n preferencestoken - Get a token to change current user's preferences\n editcount - Adds the current user's edit count\n ratelimits - Lists all rate limits applying to the current user\n realname - Adds the user's real name\n email - Adds the user's email address and email authentication date\n acceptlang - Echoes the Accept-Language header sent by the client in a structured format\n registrationdate - Adds the user's registration date\n Values (separate with '|'): blockinfo, hasmsg, groups, implicitgroups, rights, changeablegroups, options, preferencestoken,\n editcount, ratelimits, email, realname, acceptlang, registrationdate\nExamples:\n api.php?action=query&meta=userinfo\n api.php?action=query&meta=userinfo&uiprop=blockinfo|groups|rights|hasmsg\n\n\n*** *** *** *** *** *** *** *** *** *** *** *** *** *** Modules: continuation *** *** *** *** *** *** *** *** *** *** *** *** *** *** \n\n\n* action=expandtemplates *\n Expands all templates in wikitext.\n https://www.mediawiki.org/wiki/API:Parsing_wikitext#expandtemplates\n\nThis module requires read rights\nParameters:\n title - Title of page\n Default: API\n text - Wikitext to convert\n This parameter is required\n generatexml - Generate XML parse tree\n includecomments - Whether to include HTML comments in the output\nExample:\n api.php?action=expandtemplates&text={{Project:Sandbox}}\n\n* action=parse *\n Parses content and returns parser output.\n See the various prop-Modules of action=query to get information from the currentversion of a page.\n There are several ways to specify the text to parse:\n 1) Specify a page or revision, using page, pageid, or oldid.\n 2) Specify content explicitly, using text, title, and contentmodel.\n 3) Specify only a summary to parse. prop should be given an empty value.\n https://www.mediawiki.org/wiki/API:Parsing_wikitext#parse\n\nThis module requires read rights\nParameters:\n title - Title of page the text belongs to. If omitted, contentmodel must be specified, and \"API\" will be used as the title\n text - Text to parse. Use title or contentmodel to control the content model\n summary - Summary to parse\n page - Parse the content of this page. Cannot be used together with text and title\n pageid - Parse the content of this page. Overrides page\n redirects - If the page or the pageid parameter is set to a redirect, resolve it\n oldid - Parse the content of this revision. Overrides page and pageid\n prop - Which pieces of information to get\n text - Gives the parsed text of the wikitext\n langlinks - Gives the language links in the parsed wikitext\n categories - Gives the categories in the parsed wikitext\n categorieshtml - Gives the HTML version of the categories\n languageshtml - DEPRECATED. Will be removed in MediaWiki 1.24.\n Gives the HTML version of the language links\n links - Gives the internal links in the parsed wikitext\n templates - Gives the templates in the parsed wikitext\n images - Gives the images in the parsed wikitext\n externallinks - Gives the external links in the parsed wikitext\n sections - Gives the sections in the parsed wikitext\n revid - Adds the revision ID of the parsed page\n displaytitle - Adds the title of the parsed wikitext\n headitems - Gives items to put in the

of the page\n headhtml - Gives parsed of the page\n iwlinks - Gives interwiki links in the parsed wikitext\n wikitext - Gives the original wikitext that was parsed\n properties - Gives various properties defined in the parsed wikitext\n limitreportdata - Gives the limit report in a structured way.\n Gives no data, when disablepp is set.\n limitreporthtml - Gives the HTML version of the limit report.\n Gives no data, when disablepp is set.\n Values (separate with '|'): text, langlinks, languageshtml, categories, categorieshtml, links, templates, images, externallinks,\n sections, revid, displaytitle, headitems, headhtml, iwlinks, wikitext, properties, limitreportdata,\n limitreporthtml\n Default: text|langlinks|categories|links|templates|images|externallinks|sections|revid|displaytitle|iwlinks|properties\n pst - Do a pre-save transform on the input before parsing it\n Only valid when used with text\n onlypst - Do a pre-save transform (PST) on the input, but don't parse it\n Returns the same wikitext, after a PST has been applied.\n Only valid when used with text\n effectivelanglinks - Includes language links supplied by extensions\n (for use with prop=langlinks|languageshtml)\n uselang - Which language to parse the request in\n section - Only retrieve the content of this section number\n disablepp - Disable the PP Report from the parser output\n generatexml - Generate XML parse tree (requires contentmodel=wikitext)\n preview - Parse in preview mode\n sectionpreview - Parse in section preview mode (enables preview mode too)\n disabletoc - Disable table of contents in output\n contentformat - Content serialization format used for the input text\n Only valid when used with text\n One value: text/x-wiki, text/javascript, text/css, text/plain\n contentmodel - Content model of the input text. If omitted, title must be specified, and default will be the model of the specified title\n Only valid when used with text\n One value: wikitext, javascript, css, text\nExamples:\n Parse a page:\n api.php?action=parse&page=Project:Sandbox\n Parse wikitext:\n api.php?action=parse&text={{Project:Sandbox}}&contentmodel=wikitext\n Parse wikitext, specifying the page title:\n api.php?action=parse&text={{PAGENAME}}&title=Test\n Parse a summary:\n api.php?action=parse&summary=Some+[[link]]&prop=\n\n* action=opensearch *\n Search the wiki using the OpenSearch protocol.\n https://www.mediawiki.org/wiki/API:Opensearch\n\nThis module requires read rights\nParameters:\n search - Search string\n limit - Maximum amount of results to return\n No more than 100 (100 for bots) allowed\n Default: 10\n namespace - Namespaces to search\n Values (separate with '|'): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 100, 101, 102, 103, 104, 105, 106, 107, 110,\n 111, 112, 113, 116, 117, 118, 119, 120, 121, 126, 127, 128, 129, 134, 135, 136, 137, 420, 421, 170,\n 171, 140, 141, 146, 147, 274, 275, 144, 145, 142, 143\n Maximum number of values 50 (500 for bots)\n Default: 0\n suggest - Do nothing if $wgEnableOpenSearchSuggest is false\n format - The format of the output\n One value: json, jsonfm\n Default: json\nExample:\n api.php?action=opensearch&search=Te\n\n* action=feedcontributions *\n Returns a user contributions feed.\n\nThis module requires read rights\nParameters:\n feedformat - The format of the feed\n One value: rss, atom\n Default: rss\n user - What users to get the contributions for\n This parameter is required\n namespace - What namespace to filter the contributions by\n One value: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 100, 101, 102, 103, 104, 105, 106, 107, 110,\n 111, 112, 113, 116, 117, 118, 119, 120, 121, 126, 127, 128, 129, 134, 135, 136, 137, 420, 421, 170,\n 171, 140, 141, 146, 147, 274, 275, 144, 145, 142, 143\n year - From year (and earlier)\n month - From month (and earlier)\n tagfilter - Filter contributions that have these tags\n Values (separate with '|'): \n Default: \n deletedonly - Show only deleted contributions\n toponly - Only show edits that are latest revisions\n newonly - Only show edits that are page creations\n showsizediff - Show the size difference between revisions. Disabled in Miser Mode\nExample:\n api.php?action=feedcontributions&user=Reedy\n\n* action=feedrecentchanges *\n Returns a recent changes feed\n\nThis module requires read rights\nParameters:\n feedformat - The format of the feed\n One value: rss, atom\n Default: rss\n namespace - Namespace to limit the results to\n One value: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 100, 101, 102, 103, 104, 105, 106, 107, 110,\n 111, 112, 113, 116, 117, 118, 119, 120, 121, 126, 127, 128, 129, 134, 135, 136, 137, 420, 421, 170,\n 171, 140, 141, 146, 147, 274, 275, 144, 145, 142, 143\n invert - All namespaces but the selected one\n associated - Include associated (talk or main) namespace\n days - Days to limit the results to\n The value must be no less than 1\n Default: 7\n limit - Maximum number of results to return\n The value must be between 1 and 50\n Default: 50\n from - Show changes since then\n hideminor - Hide minor changes\n hidebots - Hide changes made by bots\n hideanons - Hide changes made by anonymous users\n hideliu - Hide changes made by registered users\n hidepatrolled - Hide patrolled changes\n hidemyself - Hide changes made by yourself\n tagfilter - Filter by tag\n target - Show only changes on pages linked from this page\n showlinkedto - Show changes on pages linked to the selected page instead\nExamples:\n api.php?action=feedrecentchanges\n api.php?action=feedrecentchanges&days=30\n\n* action=feedwatchlist *\n Returns a watchlist feed.\n https://www.mediawiki.org/wiki/API:Watchlist_feed\n\nThis module requires read rights\nParameters:\n feedformat - The format of the feed\n One value: rss, atom\n Default: rss\n hours - List pages modified within this many hours from now\n The value must be between 1 and 72\n Default: 24\n linktodiffs - Link to change differences instead of article pages\n linktosections - Link directly to changed sections if possible\n allrev - Include multiple revisions of the same page within given timeframe\n wlowner - The name of the user whose watchlist you'd like to access\n wltoken - Give a security token (settable in preferences) to allow access to another user's watchlist\n wlshow - Show only items that meet this criteria.\n For example, to see only minor edits done by logged-in users, set wlshow=minor|!anon\n Values (separate with '|'): minor, !minor, bot, !bot, anon, !anon, patrolled, !patrolled\n wltype - Which types of changes to show\n edit - Regular page edits\n external - External changes\n new - Page creations\n log - Log entries\n Values (separate with '|'): edit, external, new, log\n wlexcludeuser - Don't list changes by this user\nExamples:\n api.php?action=feedwatchlist\n api.php?action=feedwatchlist&allrev=&linktodiffs=&hours=6\n\n* action=help *\n Display this help screen. Or the help screen for the specified module.\n https://www.mediawiki.org/wiki/API:Main_page\n https://www.mediawiki.org/wiki/API:FAQ\n https://www.mediawiki.org/wiki/API:Quick_start_guide\nParameters:\n modules - List of module names (value of the action= parameter). Can specify submodules with a '+'\n Separate values with '|'\n Maximum number of values 50 (500 for bots)\n querymodules - DEPRECATED! Use modules=query+value instead. List of query module names (value of prop=, meta= or list= parameter)\n Separate values with '|'\n Maximum number of values 50 (500 for bots)\nExamples:\n Whole help page:\n api.php?action=help\n Module (action) help page:\n api.php?action=help&modules=protect\n Help for the query/categorymembers module:\n api.php?action=help&modules=query+categorymembers\n Help for the login and query/info modules:\n api.php?action=help&modules=login|query+info\n\n* action=paraminfo *\n Obtain information about certain API parameters and errors.\n https://www.mediawiki.org/wiki/API:Parameter_information\nParameters:\n modules - List of module names (value of the action= parameter)\n Values (separate with '|'): ask, askargs, block, browsebysubject, compare, createaccount, delete, echomarkread, edit, emailuser,\n expandtemplates, ext.srf.slideshow.show, feedcontributions, feedrecentchanges, feedwatchlist,\n filerevert, flowthank, help, imagerotate, import, login, logout, move, opensearch, options,\n paraminfo, parse, patrol, protect, purge, query, revisiondelete, rollback, rsd,\n setnotificationtimestamp, sfautocomplete, sfautoedit, smwinfo, thank, tokens, unblock, undelete,\n upload, userrights, watch\n querymodules - List of query module names (value of prop=, meta= or list= parameter)\n Values (separate with '|'): allcategories, allfileusages, allimages, alllinks, allmessages, allpages, allredirects,\n alltransclusions, allusers, backlinks, blocks, categories, categoryinfo, categorymembers,\n contributors, deletedrevs, duplicatefiles, embeddedin, extlinks, exturlusage, filearchive,\n filerepoinfo, gadgetcategories, gadgets, imageinfo, images, imageusage, info, iwbacklinks, iwlinks,\n langbacklinks, langlinks, links, logevents, notifications, pagepropnames, pageprops, pageswithprop,\n prefixsearch, protectedtitles, querypage, random, recentchanges, redirects, revisions, search,\n siteinfo, stashimageinfo, tags, templates, usercontribs, userinfo, users, watchlist, watchlistraw\n Maximum number of values 50 (500 for bots)\n mainmodule - Get information about the main (top-level) module as well\n pagesetmodule - Get information about the pageset module (providing titles= and friends) as well\n formatmodules - List of format module names (value of format= parameter)\n Values (separate with '|'): dbg, dbgfm, dump, dumpfm, json, jsonfm, none, php, phpfm, rawfm, txt, txtfm, wddx, wddxfm, xml,\n xmlfm, yaml, yamlfm\nExample:\n api.php?action=paraminfo&modules=parse&querymodules=allpages|siteinfo\n\n* action=rsd *\n Export an RSD (Really Simple Discovery) schema.\n\nThis module requires read rights\nExample:\n api.php?action=rsd\n\n* action=compare *\n Get the difference between 2 pages.\n You must pass a revision number or a page title or a page ID id for each part (1 and 2).\n\nThis module requires read rights\nParameters:\n fromtitle - First title to compare\n fromid - First page ID to compare\n fromrev - First revision to compare\n totitle - Second title to compare\n toid - Second page ID to compare\n torev - Second revision to compare\nExample:\n Create a diff between revision 1 and 2:\n api.php?action=compare&fromrev=1&torev=2\n\n* action=tokens *\n Gets tokens for data-modifying actions.\n\nThis module requires read rights\nParameters:\n type - Type of token(s) to request\n Values (separate with '|'): \n Default: edit\nExamples:\n Retrieve an edit token (the default):\n api.php?action=tokens\n Retrieve an email token and a move token:\n api.php?action=tokens&type=email|move\n\n* action=purge *\n Purge the cache for the given titles.\n Requires a POST request if the user is not logged in.\n https://www.mediawiki.org/wiki/API:Purge\n\nThis module requires read rights\nThis module requires write rights\nThis module only accepts POST requests\nParameters:\n forcelinkupdate - Update the links tables\n forcerecursivelinkupdate - Update the links table, and update the links tables for any page that uses this page as a template\n titles - A list of titles to work on\n Separate values with '|'\n Maximum number of values 50 (500 for bots)\n pageids - A list of page IDs to work on\n Separate values with '|'\n Maximum number of values 50 (500 for bots)\n revids - A list of revision IDs to work on\n Separate values with '|'\n Maximum number of values 50 (500 for bots)\n redirects - Automatically resolve redirects\n converttitles - Convert titles to other variants if necessary. Only works if the wiki's content language supports variant conversion.\n Languages that support variant conversion include gan, iu, kk, ku, shi, sr, tg, uz, zh\n generator - Get the list of pages to work on by executing the specified query module.\n NOTE: generator parameter names must be prefixed with a 'g', see examples\n One value: allcategories, allfileusages, allimages, alllinks, allpages, allredirects, alltransclusions,\n backlinks, categories, categorymembers, duplicatefiles, embeddedin, exturlusage, images, imageusage,\n iwbacklinks, langbacklinks, links, pageswithprop, prefixsearch, protectedtitles, querypage, random,\n recentchanges, redirects, search, templates, watchlist, watchlistraw\nExample:\n Purge the \"Main Page\" and the \"API\" page:\n api.php?action=purge&titles=Main_Page|API\n\n* action=setnotificationtimestamp *\n Update the notification timestamp for watched pages.\n This affects the highlighting of changed pages in the watchlist and history,\n and the sending of email when the \"Email me when a page on my watchlist is\n changed\" preference is enabled.\n https://www.mediawiki.org/wiki/API:SetNotificationTimestamp\n\nThis module requires read rights\nThis module requires write rights\nThis module only accepts POST requests\nParameters:\n entirewatchlist - Work on all watched pages\n token - A token previously acquired via prop=info\n timestamp - Timestamp to which to set the notification timestamp\n torevid - Revision to set the notification timestamp to (one page only)\n newerthanrevid - Revision to set the notification timestamp newer than (one page only)\n titles - A list of titles to work on\n Separate values with '|'\n Maximum number of values 50 (500 for bots)\n pageids - A list of page IDs to work on\n Separate values with '|'\n Maximum number of values 50 (500 for bots)\n revids - A list of revision IDs to work on\n Separate values with '|'\n Maximum number of values 50 (500 for bots)\n redirects - Automatically resolve redirects\n converttitles - Convert titles to other variants if necessary. Only works if the wiki's content language supports variant conversion.\n Languages that support variant conversion include gan, iu, kk, ku, shi, sr, tg, uz, zh\n generator - Get the list of pages to work on by executing the specified query module.\n NOTE: generator parameter names must be prefixed with a 'g', see examples\n One value: allcategories, allfileusages, allimages, alllinks, allpages, allredirects, alltransclusions,\n backlinks, categories, categorymembers, duplicatefiles, embeddedin, exturlusage, images, imageusage,\n iwbacklinks, langbacklinks, links, pageswithprop, prefixsearch, protectedtitles, querypage, random,\n recentchanges, redirects, search, templates, watchlist, watchlistraw\nExamples:\n Reset the notification status for the entire watchlist:\n api.php?action=setnotificationtimestamp&entirewatchlist=&token=123ABC\n Reset the notification status for \"Main page\":\n api.php?action=setnotificationtimestamp&titles=Main_page&token=123ABC\n Set the notification timestamp for \"Main page\" so all edits since 1 January 2012 are unviewed:\n api.php?action=setnotificationtimestamp&titles=Main_page&timestamp=2012-01-01T00:00:00Z&token=123ABC\n\n* action=rollback *\n Undo the last edit to the page. If the last user who edited the page made\n multiple edits in a row, they will all be rolled back.\n https://www.mediawiki.org/wiki/API:Rollback\n\nThis module requires read rights\nThis module requires write rights\nThis module only accepts POST requests\nParameters:\n title - Title of the page you want to rollback.\n This parameter is required\n user - Name of the user whose edits are to be rolled back. If set incorrectly, you'll get a badtoken error.\n This parameter is required\n token - A rollback token previously retrieved through prop=revisions\n This parameter is required\n summary - Custom edit summary. If empty, default summary will be used\n Default: \n markbot - Mark the reverted edits and the revert as bot edits\n watchlist - Unconditionally add or remove the page from your watchlist, use preferences or do not change watch\n One value: watch, unwatch, preferences, nochange\n Default: preferences\nExamples:\n api.php?action=rollback&title=Main%20Page&user=Catrope&token=123ABC\n api.php?action=rollback&title=Main%20Page&user=217.121.114.116&token=123ABC&summary=Reverting%20vandalism&markbot=1\n\n* action=delete *\n Delete a page.\n https://www.mediawiki.org/wiki/API:Delete\n\nThis module requires read rights\nThis module requires write rights\nThis module only accepts POST requests\nParameters:\n title - Title of the page you want to delete. Cannot be used together with pageid\n pageid - Page ID of the page you want to delete. Cannot be used together with title\n token - A delete token previously retrieved through prop=info\n This parameter is required\n reason - Reason for the deletion. If not set, an automatically generated reason will be used\n watch - DEPRECATED! Add the page to your watchlist\n watchlist - Unconditionally add or remove the page from your watchlist, use preferences or do not change watch\n One value: watch, unwatch, preferences, nochange\n Default: preferences\n unwatch - DEPRECATED! Remove the page from your watchlist\n oldimage - The name of the old image to delete as provided by iiprop=archivename\nExamples:\n Delete the Main Page:\n api.php?action=delete&title=Main%20Page&token=123ABC\n Delete the Main Page with the reason \"Preparing for move\":\n api.php?action=delete&title=Main%20Page&token=123ABC&reason=Preparing%20for%20move\n\n* action=undelete *\n Restore certain revisions of a deleted page. A list of deleted revisions \n (including timestamps) can be retrieved through list=deletedrevs.\n https://www.mediawiki.org/wiki/API:Undelete\n\nThis module requires read rights\nThis module requires write rights\nThis module only accepts POST requests\nParameters:\n title - Title of the page you want to restore\n This parameter is required\n token - An undelete token previously retrieved through list=deletedrevs\n This parameter is required\n reason - Reason for restoring\n Default: \n timestamps - Timestamps of the revisions to restore. If not set, all revisions will be restored.\n Separate values with '|'\n Maximum number of values 50 (500 for bots)\n watchlist - Unconditionally add or remove the page from your watchlist, use preferences or do not change watch\n One value: watch, unwatch, preferences, nochange\n Default: preferences\nExamples:\n api.php?action=undelete&title=Main%20Page&token=123ABC&reason=Restoring%20main%20page\n api.php?action=undelete&title=Main%20Page&token=123ABC&timestamps=20070703220045|20070702194856\n\n* action=protect *\n Change the protection level of a page.\n https://www.mediawiki.org/wiki/API:Protect\n\nThis module requires read rights\nThis module requires write rights\nThis module only accepts POST requests\nParameters:\n title - Title of the page you want to (un)protect. Cannot be used together with pageid\n pageid - ID of the page you want to (un)protect. Cannot be used together with title\n token - A protect token previously retrieved through prop=info\n This parameter is required\n protections - List of protection levels, formatted action=group (e.g. edit=sysop)\n This parameter is required\n Separate values with '|'\n Maximum number of values 50 (500 for bots)\n expiry - Expiry timestamps. If only one timestamp is set, it'll be used for all protections.\n Use 'infinite', 'indefinite' or 'never', for a never-expiring protection.\n Separate values with '|'\n Maximum number of values 50 (500 for bots)\n Default: infinite\n reason - Reason for (un)protecting\n Default: \n cascade - Enable cascading protection (i.e. protect pages included in this page)\n Ignored if not all protection levels are 'sysop' or 'protect'\n watch - DEPRECATED! If set, add the page being (un)protected to your watchlist\n watchlist - Unconditionally add or remove the page from your watchlist, use preferences or do not change watch\n One value: watch, unwatch, preferences, nochange\n Default: preferences\nExamples:\n api.php?action=protect&title=Main%20Page&token=123ABC&protections=edit=sysop|move=sysop&cascade=&expiry=20070901163000|never\n api.php?action=protect&title=Main%20Page&token=123ABC&protections=edit=all|move=all&reason=Lifting%20restrictions\n\n* action=block *\n Block a user.\n https://www.mediawiki.org/wiki/API:Block\n\nThis module requires read rights\nThis module requires write rights\nThis module only accepts POST requests\nParameters:\n user - Username, IP address or IP range you want to block\n This parameter is required\n token - A block token previously obtained through prop=info\n expiry - Relative expiry time, e.g. '5 months' or '2 weeks'. If set to 'infinite', 'indefinite' or 'never', the block will never expire.\n Default: never\n reason - Reason for block\n Default: \n anononly - Block anonymous users only (i.e. disable anonymous edits for this IP)\n nocreate - Prevent account creation\n autoblock - Automatically block the last used IP address, and any subsequent IP addresses they try to login from\n noemail - Prevent user from sending email through the wiki. (Requires the \"blockemail\" right.)\n hidename - Hide the username from the block log. (Requires the \"hideuser\" right.)\n allowusertalk - Allow the user to edit their own talk page (depends on $wgBlockAllowsUTEdit)\n reblock - If the user is already blocked, overwrite the existing block\n watchuser - Watch the user/IP's user and talk pages\nExamples:\n api.php?action=block&user=123.5.5.12&expiry=3%20days&reason=First%20strike\n api.php?action=block&user=Vandal&expiry=never&reason=Vandalism&nocreate=&autoblock=&noemail=\n\n* action=unblock *\n Unblock a user.\n https://www.mediawiki.org/wiki/API:Block\n\nThis module requires read rights\nThis module requires write rights\nThis module only accepts POST requests\nParameters:\n id - ID of the block you want to unblock (obtained through list=blocks). Cannot be used together with user\n user - Username, IP address or IP range you want to unblock. Cannot be used together with id\n token - An unblock token previously obtained through prop=info\n reason - Reason for unblock\n Default: \nExamples:\n api.php?action=unblock&id=105\n api.php?action=unblock&user=Bob&reason=Sorry%20Bob\n\n* action=move *\n Move a page.\n https://www.mediawiki.org/wiki/API:Move\n\nThis module requires read rights\nThis module requires write rights\nThis module only accepts POST requests\nParameters:\n from - Title of the page you want to move. Cannot be used together with fromid\n fromid - Page ID of the page you want to move. Cannot be used together with from\n to - Title you want to rename the page to\n This parameter is required\n token - A move token previously retrieved through prop=info\n This parameter is required\n reason - Reason for the move\n Default: \n movetalk - Move the talk page, if it exists\n movesubpages - Move subpages, if applicable\n noredirect - Don't create a redirect\n watch - DEPRECATED! Add the page and the redirect to your watchlist\n unwatch - DEPRECATED! Remove the page and the redirect from your watchlist\n watchlist - Unconditionally add or remove the page from your watchlist, use preferences or do not change watch\n One value: watch, unwatch, preferences, nochange\n Default: preferences\n ignorewarnings - Ignore any warnings\nExample:\n api.php?action=move&from=Badtitle&to=Goodtitle&token=123ABC&reason=Misspelled%20title&movetalk=&noredirect=\n\n* action=edit *\n Create and edit pages.\n https://www.mediawiki.org/wiki/API:Edit\n\nThis module requires read rights\nThis module requires write rights\nThis module only accepts POST requests\nParameters:\n title - Title of the page you want to edit. Cannot be used together with pageid\n pageid - Page ID of the page you want to edit. Cannot be used together with title\n section - Section number. 0 for the top section, 'new' for a new section\n sectiontitle - The title for a new section\n text - Page content\n token - Edit token. You can get one of these through prop=info.\n The token should always be sent as the last parameter, or at least, after the text parameter\n This parameter is required\n summary - Edit summary. Also section title when section=new and sectiontitle is not set\n minor - Minor edit\n notminor - Non-minor edit\n bot - Mark this edit as bot\n basetimestamp - Timestamp of the base revision (obtained through prop=revisions&rvprop=timestamp).\n Used to detect edit conflicts; leave unset to ignore conflicts\n starttimestamp - Timestamp when you obtained the edit token.\n Used to detect edit conflicts; leave unset to ignore conflicts\n recreate - Override any errors about the article having been deleted in the meantime\n createonly - Don't edit the page if it exists already\n nocreate - Throw an error if the page doesn't exist\n watch - DEPRECATED! Add the page to your watchlist\n unwatch - DEPRECATED! Remove the page from your watchlist\n watchlist - Unconditionally add or remove the page from your watchlist, use preferences or do not change watch\n One value: watch, unwatch, preferences, nochange\n Default: preferences\n md5 - The MD5 hash of the text parameter, or the prependtext and appendtext parameters concatenated.\n If set, the edit won't be done unless the hash is correct\n prependtext - Add this text to the beginning of the page. Overrides text\n appendtext - Add this text to the end of the page. Overrides text.\n Use section=new to append a new section\n undo - Undo this revision. Overrides text, prependtext and appendtext\n undoafter - Undo all revisions from undo to this one. If not set, just undo one revision\n redirect - Automatically resolve redirects\n contentformat - Content serialization format used for the input text\n One value: text/x-wiki, text/javascript, text/css, text/plain\n contentmodel - Content model of the new content\n One value: wikitext, javascript, css, text\n captchaword - Answer to the CAPTCHA\n captchaid - CAPTCHA ID from previous request\nExamples:\n Edit a page (anonymous user):\n api.php?action=edit&title=Test&summary=test%20summary&text=article%20content&basetimestamp=20070824123454&token=%2B\\\n Prepend __NOTOC__ to a page (anonymous user):\n api.php?action=edit&title=Test&summary=NOTOC&minor=&prependtext=__NOTOC__%0A&basetimestamp=20070824123454&token=%2B\\\n Undo r13579 through r13585 with autosummary (anonymous user):\n api.php?action=edit&title=Test&undo=13585&undoafter=13579&basetimestamp=20070824123454&token=%2B\\\n\n* action=upload *\n Upload a file, or get the status of pending uploads. Several methods are available:\n * Upload file contents directly, using the \"file\" parameter\n * Have the MediaWiki server fetch a file from a URL, using the \"url\" parameter\n * Complete an earlier upload that failed due to warnings, using the \"filekey\" parameter\n Note that the HTTP POST must be done as a file upload (i.e. using multipart/form-data) when\n sending the \"file\". Also you must get and send an edit token before doing any upload stuff.\n https://www.mediawiki.org/wiki/API:Upload\n\nThis module requires read rights\nThis module requires write rights\nThis module only accepts POST requests\nParameters:\n filename - Target filename\n comment - Upload comment. Also used as the initial page text for new files if \"text\" is not specified\n Default: \n text - Initial page text for new files\n token - Edit token. You can get one of these through prop=info\n This parameter is required\n watch - DEPRECATED! Watch the page\n watchlist - Unconditionally add or remove the page from your watchlist, use preferences or do not change watch\n One value: watch, preferences, nochange\n Default: preferences\n ignorewarnings - Ignore any warnings\n file - File contents\n Must be posted as a file upload using multipart/form-data\n url - URL to fetch the file from\n filekey - Key that identifies a previous upload that was stashed temporarily.\n sessionkey - DEPRECATED! Same as filekey, maintained for backward compatibility.\n stash - If set, the server will not add the file to the repository and stash it temporarily.\n filesize - Filesize of entire upload\n offset - Offset of chunk in bytes\n chunk - Chunk contents\n Must be posted as a file upload using multipart/form-data\n async - Make potentially large file operations asynchronous when possible\n asyncdownload - Make fetching a URL asynchronous\n leavemessage - If asyncdownload is used, leave a message on the user talk page if finished\n statuskey - Fetch the upload status for this file key (upload by URL)\n checkstatus - Only fetch the upload status for the given file key\nExamples:\n Upload from a URL:\n api.php?action=upload&filename=Wiki.png&url=http%3A//upload.wikimedia.org/wikipedia/en/b/bc/Wiki.png\n Complete an upload that failed due to warnings:\n api.php?action=upload&filename=Wiki.png&filekey=filekey&ignorewarnings=1\n\n* action=filerevert *\n Revert a file to an old version.\n\nThis module requires read rights\nThis module requires write rights\nThis module only accepts POST requests\nParameters:\n filename - Target filename without the File: prefix\n This parameter is required\n comment - Upload comment\n Default: \n archivename - Archive name of the revision to revert to\n This parameter is required\n token - Edit token. You can get one of these through prop=info\n This parameter is required\nExample:\n Revert Wiki.png to the version of 20110305152740:\n api.php?action=filerevert&filename=Wiki.png&comment=Revert&archivename=20110305152740!Wiki.png&token=123ABC\n\n* action=emailuser *\n Email a user.\n https://www.mediawiki.org/wiki/API:Email\n\nThis module requires read rights\nThis module requires write rights\nThis module only accepts POST requests\nParameters:\n target - User to send email to\n This parameter is required\n subject - Subject header\n text - Mail body\n This parameter is required\n token - A token previously acquired via prop=info\n This parameter is required\n ccme - Send a copy of this mail to me\nExample:\n Send an email to the User \"WikiSysop\" with the text \"Content\":\n api.php?action=emailuser&target=WikiSysop&text=Content\n\n* action=watch *\n Add or remove pages from/to the current user's watchlist.\n https://www.mediawiki.org/wiki/API:Watch\n\nThis module requires read rights\nThis module requires write rights\nThis module only accepts POST requests\nParameters:\n title - DEPRECATED! The page to (un)watch. use titles instead\n unwatch - If set the page will be unwatched rather than watched\n uselang - Language to show the message in\n token - A token previously acquired via prop=info\n This parameter is required\n titles - A list of titles to work on\n Separate values with '|'\n Maximum number of values 50 (500 for bots)\n pageids - A list of page IDs to work on\n Separate values with '|'\n Maximum number of values 50 (500 for bots)\n revids - A list of revision IDs to work on\n Separate values with '|'\n Maximum number of values 50 (500 for bots)\n redirects - Automatically resolve redirects\n converttitles - Convert titles to other variants if necessary. Only works if the wiki's content language supports variant conversion.\n Languages that support variant conversion include gan, iu, kk, ku, shi, sr, tg, uz, zh\n generator - Get the list of pages to work on by executing the specified query module.\n NOTE: generator parameter names must be prefixed with a 'g', see examples\n One value: allcategories, allfileusages, allimages, alllinks, allpages, allredirects, alltransclusions,\n backlinks, categories, categorymembers, duplicatefiles, embeddedin, exturlusage, images, imageusage,\n iwbacklinks, langbacklinks, links, pageswithprop, prefixsearch, protectedtitles, querypage, random,\n recentchanges, redirects, search, templates, watchlist, watchlistraw\nExamples:\n Watch the page \"Main Page\":\n api.php?action=watch&titles=Main_Page\n Unwatch the page \"Main Page\":\n api.php?action=watch&titles=Main_Page&unwatch=\n\n* action=patrol *\n Patrol a page or revision.\n https://www.mediawiki.org/wiki/API:Patrol\n\nThis module requires read rights\nThis module requires write rights\nThis module only accepts POST requests\nParameters:\n token - Patrol token obtained from list=recentchanges\n This parameter is required\n rcid - Recentchanges ID to patrol\n revid - Revision ID to patrol\nExamples:\n api.php?action=patrol&token=123abc&rcid=230672766\n api.php?action=patrol&token=123abc&revid=230672766\n\n* action=import *\n Import a page from another wiki, or an XML file.\n Note that the HTTP POST must be done as a file upload (i.e. using multipart/form-data) when\n sending a file for the \"xml\" parameter.\n https://www.mediawiki.org/wiki/API:Import\n\nThis module requires read rights\nThis module requires write rights\nThis module only accepts POST requests\nParameters:\n token - Import token obtained through prop=info\n This parameter is required\n summary - Import summary\n xml - Uploaded XML file\n Must be posted as a file upload using multipart/form-data\n interwikisource - For interwiki imports: wiki to import from\n One value: \n interwikipage - For interwiki imports: page to import\n fullhistory - For interwiki imports: import the full history, not just the current version\n templates - For interwiki imports: import all included templates as well\n namespace - For interwiki imports: import to this namespace\n One value: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 100, 101, 102, 103, 104, 105, 106, 107, 110,\n 111, 112, 113, 116, 117, 118, 119, 120, 121, 126, 127, 128, 129, 134, 135, 136, 137, 420, 421, 170,\n 171, 140, 141, 146, 147, 274, 275, 144, 145, 142, 143\n rootpage - Import as subpage of this page\nExample:\n Import [[meta:Help:Parserfunctions]] to namespace 100 with full history:\n api.php?action=import&interwikisource=meta&interwikipage=Help:ParserFunctions&namespace=100&fullhistory=&token=123ABC\n\n* action=userrights *\n Add/remove a user to/from groups.\n https://www.mediawiki.org/wiki/API:User_group_membership\n\nThis module requires read rights\nThis module requires write rights\nThis module only accepts POST requests\nParameters:\n user - User name\n userid - User id\n add - Add the user to these groups\n Values (separate with '|'): bot, sysop, bureaucrat, PremiumUsers, widgeteditor, smwadministrator\n remove - Remove the user from these groups\n Values (separate with '|'): bot, sysop, bureaucrat, PremiumUsers, widgeteditor, smwadministrator\n token - A userrights token previously retrieved through list=users\n This parameter is required\n reason - Reason for the change\n Default: \nExamples:\n api.php?action=userrights&user=FooBot&add=bot&remove=sysop|bureaucrat&token=123ABC\n api.php?action=userrights&userid=123&add=bot&remove=sysop|bureaucrat&token=123ABC\n\n* action=options *\n Change preferences of the current user.\n Only options which are registered in core or in one of installed extensions,\n or as options with keys prefixed with 'userjs-' (intended to be used by user\n scripts), can be set.\n https://www.mediawiki.org/wiki/API:Options\n\nThis module requires read rights\nThis module requires write rights\nThis module only accepts POST requests\nParameters:\n token - An options token previously obtained through the action=tokens\n This parameter is required\n reset - Resets preferences to the site defaults\n resetkinds - List of types of options to reset when the \"reset\" option is set\n Values (separate with '|'): registered, registered-multiselect, registered-checkmatrix, userjs, special, unused, all\n Default: all\n change - List of changes, formatted name=value (e.g. skin=vector), value cannot contain pipe characters. If no value is given (not \n even an equals sign), e.g., optionname|otheroption|..., the option will be reset to its default value\n Separate values with '|'\n Maximum number of values 50 (500 for bots)\n optionname - A name of a option which should have an optionvalue set\n optionvalue - A value of the option specified by the optionname, can contain pipe characters\nExamples:\n api.php?action=options&reset=&token=123ABC\n api.php?action=options&change=skin=vector|hideminor=1&token=123ABC\n api.php?action=options&reset=&change=skin=monobook&optionname=nickname&optionvalue=[[User:Beau|Beau]]%20([[User_talk:Beau|talk]])&token=123ABC\n\n* action=imagerotate *\n Rotate one or more images.\n\nThis module requires read rights\nThis module requires write rights\nThis module only accepts POST requests\nParameters:\n rotation - Degrees to rotate image clockwise\n This parameter is required\n One value: 90, 180, 270\n token - Edit token. You can get one of these through action=tokens\n This parameter is required\n titles - A list of titles to work on\n Separate values with '|'\n Maximum number of values 50 (500 for bots)\n pageids - A list of page IDs to work on\n Separate values with '|'\n Maximum number of values 50 (500 for bots)\n revids - A list of revision IDs to work on\n Separate values with '|'\n Maximum number of values 50 (500 for bots)\n redirects - Automatically resolve redirects\n converttitles - Convert titles to other variants if necessary. Only works if the wiki's content language supports variant conversion.\n Languages that support variant conversion include gan, iu, kk, ku, shi, sr, tg, uz, zh\n generator - Get the list of pages to work on by executing the specified query module.\n NOTE: generator parameter names must be prefixed with a 'g', see examples\n One value: allcategories, allfileusages, allimages, alllinks, allpages, allredirects, alltransclusions,\n backlinks, categories, categorymembers, duplicatefiles, embeddedin, exturlusage, images, imageusage,\n iwbacklinks, langbacklinks, links, pageswithprop, prefixsearch, protectedtitles, querypage, random,\n recentchanges, redirects, search, templates, watchlist, watchlistraw\nExample:\n api.php?action=imagerotate&titles=Example.jpg&rotation=90&token=123ABC\n\n* action=revisiondelete *\n Delete/undelete revisions.\n https://www.mediawiki.org/wiki/API:Revisiondelete\n\nThis module requires read rights\nThis module requires write rights\nThis module only accepts POST requests\nParameters:\n type - Type of revision deletion being performed\n This parameter is required\n One value: revision, archive, oldimage, filearchive, logging\n target - Page title for the revision deletion, if required for the type\n ids - Identifiers for the revisions to be deleted\n This parameter is required\n Separate values with '|'\n Maximum number of values 50 (500 for bots)\n hide - What to hide for each revision\n Values (separate with '|'): content, comment, user\n show - What to unhide for each revision\n Values (separate with '|'): content, comment, user\n suppress - Whether to suppress data from administrators as well as others\n One value: yes, no, nochange\n Default: nochange\n token - A delete token previously retrieved through action=tokens\n This parameter is required\n reason - Reason for the deletion/undeletion\nExamples:\n Hide content for revision 12345 on the Main Page:\n api.php?action=revisiondelete&target=Main%20Page&type=revision&ids=12345&hide=content&token=123ABC\n Hide all data on log entry 67890 with the reason \"BLP violation\":\n api.php?action=revisiondelete&type=logging&ids=67890&hide=content|comment|user&reason=BLP%20violation&token=123ABC\n\n* action=ext.srf.slideshow.show *\n API module used by the SlideShow result printer to retrieve formatted results.\n This module is should not be called directly.\n http://semantic-mediawiki.org/wiki/Help:Slideshow_format\n\nThis module requires read rights\nParameters:\n pageid - Id of the page (subject) to be displayed\n This parameter is required\n template - Template to use for formatting\n This parameter is required\n printouts - Printouts to send to the template\n Default: []\n\n* action=echomarkread *\n Mark notifications as read for the current user\n https://www.mediawiki.org/wiki/Echo_(notifications)/API\n\nThis module requires read rights\nThis module requires write rights\nThis module only accepts POST requests\nParameters:\n list - A list of notification IDs to mark as read\n Separate values with '|'\n Maximum number of values 50 (500 for bots)\n all - If set to true, marks all of a user's notifications as read\n token - edit token\n This parameter is required\n uselang - the desired language to format the output\nExamples:\n api.php?action=echomarkread&list=8\n api.php?action=echomarkread&all=true\n\n* action=thank *\n This API is for sending thank you notifications from one editor to another.\n https://www.mediawiki.org/wiki/Extension:Thanks#API_Documentation\n\nThis module requires read rights\nThis module requires write rights\nParameters:\n rev - A revision ID for an edit that you want to thank someone for\n This parameter is required\n The value must be no less than 1\n token - An edit token (to prevent CSRF abuse)\n This parameter is required\n source - A short string describing the source of the request, for example, 'diff' or 'history'\nExample:\n Send thanks for revision with the ID 123, with the source being a diff page:\n api.php?action=thank&revid=123&source=diff&token=xyz456\n\n* action=flowthank *\n This API is for sending thank you notifications for Flow comments.\n\nThis module requires read rights\nThis module requires write rights\nParameters:\n postid - The UUID of the post to thank for\n This parameter is required\n token - An edit token (to prevent CSRF abuse)\n This parameter is required\nExample:\n Send thanks for the comment with UUID abc123:\n api.php?action=flowthank&postid=abc123&token=xyz456+\\\n\n* action=sfautocomplete *\n Autocompletion call used by the Semantic Forms extension (http://www.mediawiki.org/Extension:Semantic_Forms)\n\nThis module requires read rights\nParameters:\n limit - \n No more than 500 (5000 for bots) allowed\n Default: 10\n substr - Search substring\n property - Semantic property for which to search values\n category - Category for which to search values\n concept - Concept for which to search values\n namespace - Namespace for which to search values\n external_url - Alias for external URL from which to get values\n baseprop - A previous property in the form to check against\n basevalue - The value to check for the previous property\nExamples:\n api.php?action=sfautocomplete&substr=te\n api.php?action=sfautocomplete&substr=te&property=Has_author\n api.php?action=sfautocomplete&substr=te&category=Authors\n\n* action=sfautoedit *\n This module is used to remotely create or edit pages using Semantic Forms.\n\nAdd \"template-name[field-name]=field-value\" to the query string parameter, to set the value for a specific field.\nTo set values for more than one field use \"&\", or rather its URL encoded version \"%26\": \"template-name[field-name-1]=field-value-1%26template-name[field-name-2]=field-value-2\".\nSee the first example below.\n\nIn addition to the query parameter, any parameter in the URL of the form \"template-name[field-name]=field-value\" will be treated as part of the query. See the second example.\n\nThis module requires read rights\nThis module requires write rights\nParameters:\n form - The form to use.\n target - The target page.\n query - The query string.\n preload - The name of a page to preload\nExamples:\n With query parameter: api.php?action=sfautoedit&form=form-name&target=page-name&query=template-name[field-name-1]=field-value-1%26template-name[field-name-2]=field-value-2\n Without query parameter: api.php?action=sfautoedit&form=form-name&target=page-name&template-name[field-name-1]=field-value-1&template-name[field-name-2]=field-value-2\n\n* action=smwinfo *\n API module get info about this SMW install.\n\nThis module requires read rights\nParameters:\n info - The info to provide.\n Values (separate with '|'): propcount, usedpropcount, declaredpropcount, proppagecount, querycount, querysize, formatcount,\n conceptcount, subobjectcount\n Default: propcount|usedpropcount|declaredpropcount\nExample:\n api.php?action=smwinfo&info=proppagecount|propcount\n\n* action=ask *\n API module to query SMW by providing a query in the ask language.\n\nThis module requires read rights\nParameters:\n query - The query string in ask-language\n This parameter is required\nExample:\n api.php?action=ask&query=[[Modification%20date::%2B]]|%3FModification%20date|sort%3DModification%20date|order%3Ddesc\n\n* action=askargs *\n API module to query SMW by providing a query specified as a list of conditions, printouts and parameters.\n\nThis module requires read rights\nParameters:\n conditions - The query conditions, i.e. the requirements for a subject to be included\n This parameter is required\n Separate values with '|'\n Maximum number of values 50 (500 for bots)\n printouts - The query printouts, i.e. the properties to show per subject\n Separate values with '|'\n Maximum number of values 50 (500 for bots)\n Default: \n parameters - The query parameters, i.e. all non-condition and non-printout arguments\n Separate values with '|'\n Maximum number of values 50 (500 for bots)\n Default: \nExample:\n api.php?action=askargs&conditions=Modification%20date::%2B&printouts=Modification%20date&parameters=|sort%3DModification%20date|order%3Ddesc\n\n* action=browsebysubject *\n API module to query a subject.\n\nThis module requires read rights\nParameters:\n subject - The subject to be queried\n This parameter is required\nExample:\n api.php?action=browsebysubject&subject=Main_Page\n\n\n*** *** *** *** *** *** *** *** *** *** *** *** *** *** Permissions *** *** *** *** *** *** *** *** *** *** *** *** *** *** \n\n* writeapi *\n Use of the write API\nGranted to:\n all, user, bot\n\n* apihighlimits *\n Use higher limits in API queries (Slow queries: 500 results; Fast queries: 5000 results). The limits for slow queries also apply to multivalue parameters.\nGranted to:\n bot, sysop\n\n\n*** *** *** *** *** *** *** *** *** *** *** *** *** *** Formats *** *** *** *** *** *** *** *** *** *** *** *** *** *** \n\n* format=json *\n Output data in JSON format\n https://www.mediawiki.org/wiki/API:Data_formats\n\nThis module requires read rights\nParameters:\n callback - If specified, wraps the output into a given function call. For safety, all user-specific data will be restricted.\n utf8 - If specified, encodes most (but not all) non-ASCII characters as UTF-8 instead of replacing them with hexadecimal escape sequences.\nExample:\n Format the query result in the json format:\n api.php?action=query&meta=siteinfo&siprop=namespaces&format=json\n\n* format=jsonfm *\n Output data in JSON format (pretty-print in HTML)\n https://www.mediawiki.org/wiki/API:Data_formats\n\nThis module requires read rights\nParameters:\n callback - If specified, wraps the output into a given function call. For safety, all user-specific data will be restricted.\n utf8 - If specified, encodes most (but not all) non-ASCII characters as UTF-8 instead of replacing them with hexadecimal escape sequences.\nExample:\n Format the query result in the jsonfm format:\n api.php?action=query&meta=siteinfo&siprop=namespaces&format=jsonfm\n\n* format=php *\n Output data in serialized PHP format\n https://www.mediawiki.org/wiki/API:Data_formats\n\nThis module requires read rights\nExample:\n Format the query result in the php format:\n api.php?action=query&meta=siteinfo&siprop=namespaces&format=php\n\n* format=phpfm *\n Output data in serialized PHP format (pretty-print in HTML)\n https://www.mediawiki.org/wiki/API:Data_formats\n\nThis module requires read rights\nExample:\n Format the query result in the phpfm format:\n api.php?action=query&meta=siteinfo&siprop=namespaces&format=phpfm\n\n* format=wddx *\n Output data in WDDX format\n https://www.mediawiki.org/wiki/API:Data_formats\n\nThis module requires read rights\nExample:\n Format the query result in the wddx format:\n api.php?action=query&meta=siteinfo&siprop=namespaces&format=wddx\n\n* format=wddxfm *\n Output data in WDDX format (pretty-print in HTML)\n https://www.mediawiki.org/wiki/API:Data_formats\n\nThis module requires read rights\nExample:\n Format the query result in the wddxfm format:\n api.php?action=query&meta=siteinfo&siprop=namespaces&format=wddxfm\n\n* format=xml *\n Output data in XML format\n https://www.mediawiki.org/wiki/API:Data_formats\n\nThis module requires read rights\nParameters:\n xslt - If specified, adds as stylesheet. This should be a wiki page in the MediaWiki namespace whose page name ends with \".xsl\"\n includexmlnamespace - If specified, adds an XML namespace\nExample:\n Format the query result in the xml format:\n api.php?action=query&meta=siteinfo&siprop=namespaces&format=xml\n\n* format=xmlfm *\n Output data in XML format (pretty-print in HTML)\n https://www.mediawiki.org/wiki/API:Data_formats\n\nThis module requires read rights\nParameters:\n xslt - If specified, adds as stylesheet. This should be a wiki page in the MediaWiki namespace whose page name ends with \".xsl\"\n includexmlnamespace - If specified, adds an XML namespace\nExample:\n Format the query result in the xmlfm format:\n api.php?action=query&meta=siteinfo&siprop=namespaces&format=xmlfm\n\n* format=yaml *\n Output data in YAML format\n https://www.mediawiki.org/wiki/API:Data_formats\n\nThis module requires read rights\nParameters:\n callback - If specified, wraps the output into a given function call. For safety, all user-specific data will be restricted.\n utf8 - If specified, encodes most (but not all) non-ASCII characters as UTF-8 instead of replacing them with hexadecimal escape sequences.\nExample:\n Format the query result in the yaml format:\n api.php?action=query&meta=siteinfo&siprop=namespaces&format=yaml\n\n* format=yamlfm *\n Output data in YAML format (pretty-print in HTML)\n https://www.mediawiki.org/wiki/API:Data_formats\n\nThis module requires read rights\nParameters:\n callback - If specified, wraps the output into a given function call. For safety, all user-specific data will be restricted.\n utf8 - If specified, encodes most (but not all) non-ASCII characters as UTF-8 instead of replacing them with hexadecimal escape sequences.\nExample:\n Format the query result in the yamlfm format:\n api.php?action=query&meta=siteinfo&siprop=namespaces&format=yamlfm\n\n* format=rawfm *\n Output data with the debugging elements in JSON format (pretty-print in HTML)\n https://www.mediawiki.org/wiki/API:Data_formats\n\nThis module requires read rights\nParameters:\n callback - If specified, wraps the output into a given function call. For safety, all user-specific data will be restricted.\n utf8 - If specified, encodes most (but not all) non-ASCII characters as UTF-8 instead of replacing them with hexadecimal escape sequences.\nExample:\n Format the query result in the rawfm format:\n api.php?action=query&meta=siteinfo&siprop=namespaces&format=rawfm\n\n* format=txt *\n Output data in PHP's print_r() format\n https://www.mediawiki.org/wiki/API:Data_formats\n\nThis module requires read rights\nExample:\n Format the query result in the txt format:\n api.php?action=query&meta=siteinfo&siprop=namespaces&format=txt\n\n* format=txtfm *\n Output data in PHP's print_r() format (pretty-print in HTML)\n https://www.mediawiki.org/wiki/API:Data_formats\n\nThis module requires read rights\nExample:\n Format the query result in the txtfm format:\n api.php?action=query&meta=siteinfo&siprop=namespaces&format=txtfm\n\n* format=dbg *\n Output data in PHP's var_export() format\n https://www.mediawiki.org/wiki/API:Data_formats\n\nThis module requires read rights\nExample:\n Format the query result in the dbg format:\n api.php?action=query&meta=siteinfo&siprop=namespaces&format=dbg\n\n* format=dbgfm *\n Output data in PHP's var_export() format (pretty-print in HTML)\n https://www.mediawiki.org/wiki/API:Data_formats\n\nThis module requires read rights\nExample:\n Format the query result in the dbgfm format:\n api.php?action=query&meta=siteinfo&siprop=namespaces&format=dbgfm\n\n* format=dump *\n Output data in PHP's var_dump() format\n https://www.mediawiki.org/wiki/API:Data_formats\n\nThis module requires read rights\nExample:\n Format the query result in the dump format:\n api.php?action=query&meta=siteinfo&siprop=namespaces&format=dump\n\n* format=dumpfm *\n Output data in PHP's var_dump() format (pretty-print in HTML)\n https://www.mediawiki.org/wiki/API:Data_formats\n\nThis module requires read rights\nExample:\n Format the query result in the dumpfm format:\n api.php?action=query&meta=siteinfo&siprop=namespaces&format=dumpfm\n\n* format=none *\n Output nothing\n https://www.mediawiki.org/wiki/API:Data_formats\n\nThis module requires read rights\nExample:\n Format the query result in the none format:\n api.php?action=query&meta=siteinfo&siprop=namespaces&format=none\n\n\n*** Credits: ***\n API developers:\n Roan Kattouw (lead developer Sep 2007-2009)\n Victor Vasiliev\n Bryan Tong Minh\n Sam Reed\n Yuri Astrakhan (creator, lead developer Sep 2006-Sep 2007, 2012-present)\n \n Please send your comments, suggestions and questions to mediawiki-api@lists.wikimedia.org\n or file a bug report at https://bugzilla.wikimedia.org/\n"}})