CINXE.COM
MediaWiki API help - MediaWiki
<!DOCTYPE html> <html class="client-nojs" lang="en" dir="ltr"> <head> <meta charset="UTF-8"> <title>MediaWiki API help - MediaWiki</title> <script>document.documentElement.className="client-js";RLCONF={"wgBreakFrames":true,"wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""],"wgDefaultDateFormat":"dmy","wgMonthNames":["","January","February","March","April","May","June","July","August","September","October","November","December"],"wgRequestId":"15f78602-a71a-4657-8789-433abb5f72dc","wgCanonicalNamespace":"Special","wgCanonicalSpecialPageName":"ApiHelp","wgNamespaceNumber":-1,"wgPageName":"Special:ApiHelp","wgTitle":"ApiHelp","wgCurRevisionId":0,"wgRevisionId":0,"wgArticleId":0,"wgIsArticle":false,"wgIsRedirect":false,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":[],"wgPageViewLanguage":"en","wgPageContentLanguage":"en","wgPageContentModel":"wikitext","wgRelevantPageName":"Special:ApiHelp","wgRelevantArticleId":0,"wgIsProbablyEditable":false,"wgRelevantPageIsProbablyEditable":false,"wgNoticeProject":"mediawiki","wgCiteReferencePreviewsActive":true,"wgMediaViewerOnClick":true, "wgMediaViewerEnabledByDefault":true,"wgVisualEditor":{"pageLanguageCode":"en","pageLanguageDir":"ltr","pageVariantFallbacks":"en"},"wgMFDisplayWikibaseDescriptions":{"search":true,"watchlist":true,"tagline":false,"nearby":true},"wgWMESchemaEditAttemptStepOversample":false,"wgWMEPageLength":0,"wgCentralAuthMobileDomain":false,"wgEditSubmitButtonLabelPublish":true};RLSTATE={"user.options":"loading","mediawiki.hlist":"ready","mediawiki.apipretty":"ready","mediawiki.skinning.interface":"ready","ext.visualEditor.desktopArticleTarget.noscript":"ready","ext.wikimediaBadges":"ready"};RLPAGEMODULES=["mediawiki.page.ready","ext.centralNotice.geoIP","ext.urlShortener.toolbar","ext.centralauth.centralautologin","ext.visualEditor.desktopArticleTarget.init","ext.visualEditor.targetLoader","ext.echo.centralauth","ext.eventLogging","ext.wikimediaEvents","ext.navigationTiming"];</script> <script>(RLQ=window.RLQ||[]).push(function(){mw.loader.impl(function(){return["user.options@12s5i",function($,jQuery,require,module){mw.user.tokens.set({"patrolToken":"+\\","watchToken":"+\\","csrfToken":"+\\"}); }];});});</script> <link rel="stylesheet" href="/w/load.php?lang=en&modules=ext.visualEditor.desktopArticleTarget.noscript%7Cext.wikimediaBadges%7Cmediawiki.apipretty%2Chlist%7Cmediawiki.skinning.interface&only=styles&skin=apioutput"> <script async="" src="/w/load.php?lang=en&modules=startup&only=scripts&raw=1&safemode=1&skin=apioutput"></script> <meta name="generator" content="MediaWiki 1.44.0-wmf.5"> <meta name="referrer" content="origin"> <meta name="referrer" content="origin-when-cross-origin"> <meta name="robots" content="noindex,nofollow,max-image-preview:standard"> <meta name="format-detection" content="telephone=no"> <meta name="viewport" content="width=1120"> <meta property="og:site_name" content="MediaWiki"> <meta property="og:title" content="MediaWiki API help - MediaWiki"> <meta property="og:type" content="website"> <link rel="alternate" media="only screen and (max-width: 640px)" href="//m.mediawiki.org/wiki/Special:ApiHelp"> <link rel="apple-touch-icon" href="/static/apple-touch/mediawiki.png"> <link rel="icon" href="/static/favicon/mediawiki.ico"> <link rel="search" type="application/opensearchdescription+xml" href="/w/rest.php/v1/search" title="MediaWiki (en)"> <link rel="EditURI" type="application/rsd+xml" href="//www.mediawiki.org/w/api.php?action=rsd"> <link rel="canonical" href="https://www.mediawiki.org/wiki/Special:ApiHelp"> <link rel="license" href="https://www.mediawiki.org/wiki/Special:MyLanguage/Copyright"> <link rel="alternate" type="application/atom+xml" title="MediaWiki Atom feed" href="/w/index.php?title=Special:RecentChanges&feed=atom"> <link rel="dns-prefetch" href="//login.wikimedia.org"> </head> <body class="mediawiki ltr sitedir-ltr mw-hide-empty-elt ns--1 ns-special mw-special-ApiHelp page-Special_ApiHelp rootpage-Special_ApiHelp skin-apioutput action-view"><div class="mw-body" role="main"> <h1 id="firstHeading">MediaWiki API help</h1> <div class="mw-body-content"> <div id="mw-content-text" class="mw-body-content"><p>This is an auto-generated MediaWiki API documentation page. </p><p>Documentation and examples: <a class="external free" href="https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page">https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page</a> </p><h2 class="apihelp-header" id="main">Main module</h2> <div class="apihelp-block apihelp-flags"><ul><li><span class="apihelp-source">Source: <span dir="ltr" lang="en">MediaWiki</span></span></li><li><span class="apihelp-license">License: <a href="/wiki/Special:Version/License/MediaWiki" title="Special:Version/License/MediaWiki"><span dir="ltr" lang="en">GPL-2.0-or-later</span></a></span></li></ul></div> <div class="hlist plainlinks api-main-links"> <ul><li><a href="/wiki/Special:MyLanguage/API:Main_page" title="Special:MyLanguage/API:Main page">Documentation</a></li> <li><a href="/wiki/Special:MyLanguage/API:Etiquette" title="Special:MyLanguage/API:Etiquette">Etiquette & usage guidelines</a></li> <li><a href="/wiki/Special:MyLanguage/API:FAQ" title="Special:MyLanguage/API:FAQ">FAQ</a></li> <li><a class="external text" href="https://lists.wikimedia.org/postorius/lists/mediawiki-api.lists.wikimedia.org/">Mailing list</a></li> <li><a class="external text" href="https://lists.wikimedia.org/postorius/lists/mediawiki-api-announce.lists.wikimedia.org/">API Announcements</a></li> <li><a class="external text" href="https://phabricator.wikimedia.org/maniphest/query/GebfyV4uCaLd/#R">Bugs & requests</a></li></ul> </div> <p><strong>Status:</strong> The MediaWiki API is a mature and stable interface that is actively supported and improved. While we try to avoid it, we may occasionally need to make breaking changes; subscribe to <a class="external text" href="https://lists.wikimedia.org/hyperkitty/list/mediawiki-api-announce@lists.wikimedia.org/">the mediawiki-api-announce mailing list</a> for notice of updates. </p><p><strong>Erroneous requests:</strong> When erroneous requests are sent to the API, an HTTP header will be sent with the key "MediaWiki-API-Error" and then both the value of the header and the error code sent back will be set to the same value. For more information see <a href="/wiki/Special:MyLanguage/API:Errors_and_warnings" title="Special:MyLanguage/API:Errors and warnings">API: Errors and warnings</a>. </p> <p class="mw-apisandbox-link"><strong>Testing:</strong> For ease of testing API requests, see <a href="/wiki/Special:ApiSandbox" title="Special:ApiSandbox">Special:ApiSandbox</a>.</p> <div class="apihelp-block apihelp-parameters"><div class="apihelp-block-head">Specific parameters:</div><dl><dt><span dir="ltr" lang="en" id="main:action">action</span></dt><dd class="description"><p>Which action to perform. </p><dl><dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=abusefiltercheckmatch">abusefiltercheckmatch</a></span></dt> <dd>Check to see if an AbuseFilter matches a set of variables, an edit, or a logged AbuseFilter event.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=abusefilterchecksyntax">abusefilterchecksyntax</a></span></dt> <dd>Check syntax of an AbuseFilter filter.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=abusefilterevalexpression">abusefilterevalexpression</a></span></dt> <dd>Evaluates an AbuseFilter expression.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=abusefilterunblockautopromote">abusefilterunblockautopromote</a></span></dt> <dd>Unblocks a user from receiving autopromotions due to an abusefilter consequence.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=abuselogprivatedetails">abuselogprivatedetails</a></span></dt> <dd>View private details of an AbuseLog entry.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=acquiretempusername">acquiretempusername</a></span></dt> <dd>Acquire a temporary user username and stash it in the current session, if temp account creation is enabled and the current user is logged out. If a name has already been stashed, returns the same name.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=aggregategroups">aggregategroups</a></span></dt> <dd>Manage aggregate message groups.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=antispoof">antispoof</a></span></dt> <dd>Check a username against AntiSpoof's normalisation checks.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=block">block</a></span></dt> <dd>Block a user.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=centralauthtoken">centralauthtoken</a></span></dt> <dd>Fetch a centralauthtoken for making an authenticated request to an attached wiki.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=centralnoticecdncacheupdatebanner">centralnoticecdncacheupdatebanner</a></span></dt> <dd>Request the purge of banner content stored in the CDN (front-end) cache for anonymous users, for the requested banner and language</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=centralnoticechoicedata">centralnoticechoicedata</a></span></dt> <dd>Get data needed to choose a banner for a given project and language</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=centralnoticequerycampaign">centralnoticequerycampaign</a></span></dt> <dd>Get all configuration settings for a campaign.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=changeauthenticationdata">changeauthenticationdata</a></span></dt> <dd>Change authentication data for the current user.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=changecontentmodel">changecontentmodel</a></span></dt> <dd>Change the content model of a page</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=checktoken">checktoken</a></span></dt> <dd>Check the validity of a token from <kbd><a href="/w/api.php?action=help&modules=query%2Btokens">action=query&meta=tokens</a></kbd>.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=cirrus-config-dump">cirrus-config-dump</a></span></dt> <dd>Dump of CirrusSearch configuration.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=cirrus-mapping-dump">cirrus-mapping-dump</a></span></dt> <dd>Dump of CirrusSearch mapping for this wiki.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=cirrus-profiles-dump">cirrus-profiles-dump</a></span></dt> <dd>Dump of CirrusSearch profiles for this wiki.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=cirrus-settings-dump">cirrus-settings-dump</a></span></dt> <dd>Dump of CirrusSearch settings for this wiki.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=clearhasmsg">clearhasmsg</a></span></dt> <dd>Clears the <code>hasmsg</code> flag for the current user.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=clientlogin">clientlogin</a></span></dt> <dd>Log in to the wiki using the interactive flow.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=compare">compare</a></span></dt> <dd>Get the difference between two pages.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=createaccount">createaccount</a></span></dt> <dd>Create a new user account.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=createlocalaccount">createlocalaccount</a></span></dt> <dd>Forcibly create a local account. The central account must exist.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=delete">delete</a></span></dt> <dd>Delete a page.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=deleteglobalaccount">deleteglobalaccount</a></span></dt> <dd>Delete a global user.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=discussiontoolsedit">discussiontoolsedit</a></span></dt> <dd>Post a message on a discussion page.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=discussiontoolsfindcomment">discussiontoolsfindcomment</a></span></dt> <dd>Find a comment by its ID or name.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=discussiontoolsgetsubscriptions">discussiontoolsgetsubscriptions</a></span></dt> <dd>Get the subscription statuses of given topics.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=discussiontoolssubscribe">discussiontoolssubscribe</a></span></dt> <dd>Subscribe (or unsubscribe) to receive notifications about a topic.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=discussiontoolsthank">discussiontoolsthank</a></span></dt> <dd>Send a public thank-you notification for a comment.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=echocreateevent">echocreateevent</a></span></dt> <dd>Manually trigger a notification to a user</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=echomarkread">echomarkread</a></span></dt> <dd>Mark notifications as read for the current user.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=echomarkseen">echomarkseen</a></span></dt> <dd>Mark notifications as seen for the current user.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=echomute">echomute</a></span></dt> <dd>Mute or unmute notifications from certain users or pages.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=edit">edit</a></span></dt> <dd>Create and edit pages.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=editmassmessagelist">editmassmessagelist</a></span></dt> <dd>Edit a mass message delivery list.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=emailuser">emailuser</a></span></dt> <dd>Email a user.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=expandtemplates">expandtemplates</a></span></dt> <dd>Expands all templates within wikitext.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=featuredfeed">featuredfeed</a></span></dt> <dd>Returns a featured content feed.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=feedcontributions">feedcontributions</a></span></dt> <dd>Returns a user's contributions feed.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=feedrecentchanges">feedrecentchanges</a></span></dt> <dd>Returns a recent changes feed.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=feedthreads">feedthreads</a></span></dt> <dd>Return a feed of discussion threads.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=feedwatchlist">feedwatchlist</a></span></dt> <dd>Returns a watchlist feed.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=filerevert">filerevert</a></span></dt> <dd>Revert a file to an old version.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=flow">flow</a></span></dt> <dd>Allows actions to be taken on Structured Discussions pages.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=flow-parsoid-utils">flow-parsoid-utils</a></span></dt> <dd>Convert text between wikitext and HTML.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=flowthank">flowthank</a></span></dt> <dd>Send a public thank-you notification for a Flow comment.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=globalblock">globalblock</a></span></dt> <dd>Globally block or unblock a user.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=globalpreferenceoverrides">globalpreferenceoverrides</a></span></dt> <dd>Change local overrides for global preferences for the current user.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=globalpreferences">globalpreferences</a></span></dt> <dd>Change global preferences of the current user.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=globaluserrights">globaluserrights</a></span></dt> <dd>Add/remove a user to/from global groups.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=groupreview">groupreview</a></span></dt> <dd>Set message group workflow states.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=help">help</a></span></dt> <dd>Display help for the specified modules.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=imagerotate">imagerotate</a></span></dt> <dd>This module has been disabled.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=import">import</a></span></dt> <dd>Import a page from another wiki, or from an XML file.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=jsonconfig">jsonconfig</a></span></dt> <dd>Allows direct access to JsonConfig subsystem.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=languagesearch">languagesearch</a></span></dt> <dd>Search for language names in any script.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=linkaccount">linkaccount</a></span></dt> <dd>Link an account from a third-party provider to the current user.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=login">login</a></span></dt> <dd>Log in and get authentication cookies.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=logout">logout</a></span></dt> <dd>Log out and clear session data.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=managetags">managetags</a></span></dt> <dd>Perform management tasks relating to change tags.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=markfortranslation">markfortranslation</a></span></dt> <dd>Mark a page for translation</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=massmessage">massmessage</a></span></dt> <dd>Send a message to a list of pages.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=mergehistory">mergehistory</a></span></dt> <dd>Merge page histories.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=move">move</a></span></dt> <dd>Move a page.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=newslettersubscribe">newslettersubscribe</a></span></dt> <dd>Subscribe to or unsubscribe from a newsletter.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=opensearch">opensearch</a></span></dt> <dd>Search the wiki using the OpenSearch protocol.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=options">options</a></span></dt> <dd>Change preferences of the current user.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=paraminfo">paraminfo</a></span></dt> <dd>Obtain information about API modules.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=parse">parse</a></span></dt> <dd>Parses content and returns parser output.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=patrol">patrol</a></span></dt> <dd>Patrol a page or revision.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=protect">protect</a></span></dt> <dd>Change the protection level of a page.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=purge">purge</a></span></dt> <dd>Purge the cache for the given titles.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=query">query</a></span></dt> <dd>Fetch data from and about MediaWiki.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=removeauthenticationdata">removeauthenticationdata</a></span></dt> <dd>Remove authentication data for the current user.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=resetpassword">resetpassword</a></span></dt> <dd>Send a password reset email to a user.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=revisiondelete">revisiondelete</a></span></dt> <dd>Delete and undelete revisions.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=rollback">rollback</a></span></dt> <dd>Undo the last edit to the page.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=rsd">rsd</a></span></dt> <dd>Export an RSD (Really Simple Discovery) schema.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=searchtranslations">searchtranslations</a></span></dt> <dd>Search translations.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=setglobalaccountstatus">setglobalaccountstatus</a></span></dt> <dd>Hide or lock (or unhide or unlock) a global user account.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=setnotificationtimestamp">setnotificationtimestamp</a></span></dt> <dd>Update the notification timestamp for watched pages.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=setpagelanguage">setpagelanguage</a></span></dt> <dd>Change the language of a page.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=shortenurl">shortenurl</a></span></dt> <dd>Shorten a long URL into a shorter one.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=sitematrix">sitematrix</a></span></dt> <dd>Get Wikimedia sites list.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=spamblacklist">spamblacklist</a></span></dt> <dd>Validate one or more URLs against the spam block list.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=streamconfigs">streamconfigs</a></span></dt> <dd>Exposes event stream config. Returns only format=json with formatversion=2.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=strikevote">strikevote</a></span></dt> <dd>Allows admins to strike or unstrike a vote.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=tag">tag</a></span></dt> <dd>Add or remove change tags from individual revisions or log entries.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=templatedata">templatedata</a></span></dt> <dd>Fetch data stored by the TemplateData extension.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=thank">thank</a></span></dt> <dd>Send a thank-you notification to an editor.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=threadaction">threadaction</a></span></dt> <dd>Allows actions to be taken on threads and posts in threaded discussions.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=titleblacklist">titleblacklist</a></span></dt> <dd>Validate a page title, filename, or username against the TitleBlacklist.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=torblock">torblock</a></span></dt> <dd>Check if an IP address is blocked as a Tor exit node.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=transcodereset">transcodereset</a></span></dt> <dd>Users with the 'transcode-reset' right can reset and re-run a transcode job.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=translationaids">translationaids</a></span></dt> <dd>Query all translations aids.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=translationreview">translationreview</a></span></dt> <dd>Mark translations reviewed.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=translationstats">translationstats</a></span></dt> <dd>Fetch translation statistics</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=ttmserver">ttmserver</a></span></dt> <dd>Query suggestions from translation memories.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=unblock">unblock</a></span></dt> <dd>Unblock a user.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=undelete">undelete</a></span></dt> <dd>Undelete revisions of a deleted page.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=unlinkaccount">unlinkaccount</a></span></dt> <dd>Remove a linked third-party account from the current user.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=upload">upload</a></span></dt> <dd>Upload a file, or get the status of pending uploads.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=userrights">userrights</a></span></dt> <dd>Change a user's group membership.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=validatepassword">validatepassword</a></span></dt> <dd>Validate a password against the wiki's password policies.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=watch">watch</a></span></dt> <dd>Add or remove pages from the current user's watchlist.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=webapp-manifest">webapp-manifest</a></span></dt> <dd>Returns a webapp manifest.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=webauthn">webauthn</a></span></dt> <dd>API Module to communicate between server and client during registration/authentication process.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=wikilove">wikilove</a></span></dt> <dd>Give WikiLove to another user.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=bouncehandler">bouncehandler</a></span></dt> <dd><span class="apihelp-internal">Internal.</span> Receive a bounce email and process it to handle the failing recipient.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=categorytree">categorytree</a></span></dt> <dd><span class="apihelp-internal">Internal.</span> Internal module for the CategoryTree extension.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=cirrus-check-sanity">cirrus-check-sanity</a></span></dt> <dd><span class="apihelp-internal">Internal.</span> Reports on the correctness of a range of page ids in the search index</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=collection">collection</a></span></dt> <dd><span class="apihelp-internal">Internal.</span> API module for performing various operations on a wiki user's collection.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=cspreport">cspreport</a></span></dt> <dd><span class="apihelp-internal">Internal.</span> Used by browsers to report violations of the Content Security Policy. This module should never be used, except when used automatically by a CSP compliant web browser.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=discussiontoolscompare">discussiontoolscompare</a></span></dt> <dd><span class="apihelp-internal">Internal.</span> Get information about comment changes between two page revisions.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=discussiontoolspageinfo">discussiontoolspageinfo</a></span></dt> <dd><span class="apihelp-internal">Internal.</span> Returns metadata required to initialize the discussion tools.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=discussiontoolspreview">discussiontoolspreview</a></span></dt> <dd><span class="apihelp-internal">Internal.</span> Preview a message on a discussion page.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=editcheckreferenceurl">editcheckreferenceurl</a></span></dt> <dd><span class="apihelp-internal">Internal.</span> Check the status of a URL for use as a reference.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=fancycaptchareload">fancycaptchareload</a></span></dt> <dd><span class="apihelp-internal">Internal.</span> Get a new FancyCaptcha.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=jsondata">jsondata</a></span></dt> <dd><span class="apihelp-internal">Internal.</span> Retrieve localized JSON data.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=managegroupsynchronizationcache">managegroupsynchronizationcache</a></span></dt> <dd><span class="apihelp-internal">Internal.</span> Manage group synchronization cache.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=managemessagegroups">managemessagegroups</a></span></dt> <dd><span class="apihelp-internal">Internal.</span> Add a message as a rename of an existing message or a new message in the group during imports</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=messagegroupsubscription">messagegroupsubscription</a></span></dt> <dd><span class="apihelp-internal">Internal.</span> Message group subscription related operations</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=oathvalidate">oathvalidate</a></span></dt> <dd><span class="apihelp-internal">Internal.</span> Validate a two-factor authentication (OATH) token.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=parser-migration">parser-migration</a></span></dt> <dd><span class="apihelp-internal">Internal.</span> Parse a page with two different parser configurations.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=readinglists">readinglists</a></span></dt> <dd><span class="apihelp-internal">Internal.</span> Reading list write operations.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=sanitize-mapdata">sanitize-mapdata</a></span></dt> <dd><span class="apihelp-internal">Internal.</span> Performs data validation for Kartographer extension</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=scribunto-console">scribunto-console</a></span></dt> <dd><span class="apihelp-internal">Internal.</span> Internal module for servicing XHR requests from the Scribunto console.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=securepollauth">securepollauth</a></span></dt> <dd><span class="apihelp-internal">Internal.</span> Allows a remote wiki to authenticate users before granting access to vote in the election.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=stashedit">stashedit</a></span></dt> <dd><span class="apihelp-internal">Internal.</span> Prepare an edit in shared cache.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=timedtext">timedtext</a></span></dt> <dd><span class="apihelp-internal">Internal.</span> Provides timed text content for usage by <track> elements</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=translationcheck">translationcheck</a></span></dt> <dd><span class="apihelp-internal">Internal.</span> Validate translations.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=translationentitysearch">translationentitysearch</a></span></dt> <dd><span class="apihelp-internal">Internal.</span> Search for message groups and messages</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=ulslocalization">ulslocalization</a></span></dt> <dd><span class="apihelp-internal">Internal.</span> Get the localization of ULS in the given language.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=ulssetlang">ulssetlang</a></span></dt> <dd><span class="apihelp-internal">Internal.</span> Update user's preferred interface language.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=visualeditor">visualeditor</a></span></dt> <dd><span class="apihelp-internal">Internal.</span> Returns HTML5 for a page from the Parsoid service.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=visualeditoredit">visualeditoredit</a></span></dt> <dd><span class="apihelp-internal">Internal.</span> Save an HTML5 page to MediaWiki (converted to wikitext via the Parsoid service).</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=wikimediaeventsblockededit">wikimediaeventsblockededit</a></span></dt> <dd><span class="apihelp-internal">Internal.</span> Log information about blocked edit attempts</dd></dl></dd><dd class="info">One of the following values: <a href="/w/api.php?action=help&modules=abusefiltercheckmatch"><span dir="ltr" lang="en">abusefiltercheckmatch</span></a>, <a href="/w/api.php?action=help&modules=abusefilterchecksyntax"><span dir="ltr" lang="en">abusefilterchecksyntax</span></a>, <a href="/w/api.php?action=help&modules=abusefilterevalexpression"><span dir="ltr" lang="en">abusefilterevalexpression</span></a>, <a href="/w/api.php?action=help&modules=abusefilterunblockautopromote"><span dir="ltr" lang="en">abusefilterunblockautopromote</span></a>, <a href="/w/api.php?action=help&modules=abuselogprivatedetails"><span dir="ltr" lang="en">abuselogprivatedetails</span></a>, <a href="/w/api.php?action=help&modules=acquiretempusername"><span dir="ltr" lang="en">acquiretempusername</span></a>, <a href="/w/api.php?action=help&modules=aggregategroups"><span dir="ltr" lang="en">aggregategroups</span></a>, <a href="/w/api.php?action=help&modules=antispoof"><span dir="ltr" lang="en">antispoof</span></a>, <a href="/w/api.php?action=help&modules=block"><span dir="ltr" lang="en">block</span></a>, <a href="/w/api.php?action=help&modules=centralauthtoken"><span dir="ltr" lang="en">centralauthtoken</span></a>, <a href="/w/api.php?action=help&modules=centralnoticecdncacheupdatebanner"><span dir="ltr" lang="en">centralnoticecdncacheupdatebanner</span></a>, <a href="/w/api.php?action=help&modules=centralnoticechoicedata"><span dir="ltr" lang="en">centralnoticechoicedata</span></a>, <a href="/w/api.php?action=help&modules=centralnoticequerycampaign"><span dir="ltr" lang="en">centralnoticequerycampaign</span></a>, <a href="/w/api.php?action=help&modules=changeauthenticationdata"><span dir="ltr" lang="en">changeauthenticationdata</span></a>, <a href="/w/api.php?action=help&modules=changecontentmodel"><span dir="ltr" lang="en">changecontentmodel</span></a>, <a href="/w/api.php?action=help&modules=checktoken"><span dir="ltr" lang="en">checktoken</span></a>, <a href="/w/api.php?action=help&modules=cirrus-config-dump"><span dir="ltr" lang="en">cirrus-config-dump</span></a>, <a href="/w/api.php?action=help&modules=cirrus-mapping-dump"><span dir="ltr" lang="en">cirrus-mapping-dump</span></a>, <a href="/w/api.php?action=help&modules=cirrus-profiles-dump"><span dir="ltr" lang="en">cirrus-profiles-dump</span></a>, <a href="/w/api.php?action=help&modules=cirrus-settings-dump"><span dir="ltr" lang="en">cirrus-settings-dump</span></a>, <a href="/w/api.php?action=help&modules=clearhasmsg"><span dir="ltr" lang="en">clearhasmsg</span></a>, <a href="/w/api.php?action=help&modules=clientlogin"><span dir="ltr" lang="en">clientlogin</span></a>, <a href="/w/api.php?action=help&modules=compare"><span dir="ltr" lang="en">compare</span></a>, <a href="/w/api.php?action=help&modules=createaccount"><span dir="ltr" lang="en">createaccount</span></a>, <a href="/w/api.php?action=help&modules=createlocalaccount"><span dir="ltr" lang="en">createlocalaccount</span></a>, <a href="/w/api.php?action=help&modules=delete"><span dir="ltr" lang="en">delete</span></a>, <a href="/w/api.php?action=help&modules=deleteglobalaccount"><span dir="ltr" lang="en">deleteglobalaccount</span></a>, <a href="/w/api.php?action=help&modules=discussiontoolsedit"><span dir="ltr" lang="en">discussiontoolsedit</span></a>, <a href="/w/api.php?action=help&modules=discussiontoolsfindcomment"><span dir="ltr" lang="en">discussiontoolsfindcomment</span></a>, <a href="/w/api.php?action=help&modules=discussiontoolsgetsubscriptions"><span dir="ltr" lang="en">discussiontoolsgetsubscriptions</span></a>, <a href="/w/api.php?action=help&modules=discussiontoolssubscribe"><span dir="ltr" lang="en">discussiontoolssubscribe</span></a>, <a href="/w/api.php?action=help&modules=discussiontoolsthank"><span dir="ltr" lang="en">discussiontoolsthank</span></a>, <a href="/w/api.php?action=help&modules=echocreateevent"><span dir="ltr" lang="en">echocreateevent</span></a>, <a href="/w/api.php?action=help&modules=echomarkread"><span dir="ltr" lang="en">echomarkread</span></a>, <a href="/w/api.php?action=help&modules=echomarkseen"><span dir="ltr" lang="en">echomarkseen</span></a>, <a href="/w/api.php?action=help&modules=echomute"><span dir="ltr" lang="en">echomute</span></a>, <a href="/w/api.php?action=help&modules=edit"><span dir="ltr" lang="en">edit</span></a>, <a href="/w/api.php?action=help&modules=editmassmessagelist"><span dir="ltr" lang="en">editmassmessagelist</span></a>, <a href="/w/api.php?action=help&modules=emailuser"><span dir="ltr" lang="en">emailuser</span></a>, <a href="/w/api.php?action=help&modules=expandtemplates"><span dir="ltr" lang="en">expandtemplates</span></a>, <a href="/w/api.php?action=help&modules=featuredfeed"><span dir="ltr" lang="en">featuredfeed</span></a>, <a href="/w/api.php?action=help&modules=feedcontributions"><span dir="ltr" lang="en">feedcontributions</span></a>, <a href="/w/api.php?action=help&modules=feedrecentchanges"><span dir="ltr" lang="en">feedrecentchanges</span></a>, <a href="/w/api.php?action=help&modules=feedthreads"><span dir="ltr" lang="en">feedthreads</span></a>, <a href="/w/api.php?action=help&modules=feedwatchlist"><span dir="ltr" lang="en">feedwatchlist</span></a>, <a href="/w/api.php?action=help&modules=filerevert"><span dir="ltr" lang="en">filerevert</span></a>, <a href="/w/api.php?action=help&modules=flow-parsoid-utils"><span dir="ltr" lang="en">flow-parsoid-utils</span></a>, <a href="/w/api.php?action=help&modules=flow"><span dir="ltr" lang="en">flow</span></a>, <a href="/w/api.php?action=help&modules=flowthank"><span dir="ltr" lang="en">flowthank</span></a>, <a href="/w/api.php?action=help&modules=globalblock"><span dir="ltr" lang="en">globalblock</span></a>, <a href="/w/api.php?action=help&modules=globalpreferenceoverrides"><span dir="ltr" lang="en">globalpreferenceoverrides</span></a>, <a href="/w/api.php?action=help&modules=globalpreferences"><span dir="ltr" lang="en">globalpreferences</span></a>, <a href="/w/api.php?action=help&modules=globaluserrights"><span dir="ltr" lang="en">globaluserrights</span></a>, <a href="/w/api.php?action=help&modules=groupreview"><span dir="ltr" lang="en">groupreview</span></a>, <a href="/w/api.php?action=help&modules=help"><span dir="ltr" lang="en">help</span></a>, <a href="/w/api.php?action=help&modules=imagerotate"><span dir="ltr" lang="en">imagerotate</span></a>, <a href="/w/api.php?action=help&modules=import"><span dir="ltr" lang="en">import</span></a>, <a href="/w/api.php?action=help&modules=jsonconfig"><span dir="ltr" lang="en">jsonconfig</span></a>, <a href="/w/api.php?action=help&modules=languagesearch"><span dir="ltr" lang="en">languagesearch</span></a>, <a href="/w/api.php?action=help&modules=linkaccount"><span dir="ltr" lang="en">linkaccount</span></a>, <a href="/w/api.php?action=help&modules=login"><span dir="ltr" lang="en">login</span></a>, <a href="/w/api.php?action=help&modules=logout"><span dir="ltr" lang="en">logout</span></a>, <a href="/w/api.php?action=help&modules=managetags"><span dir="ltr" lang="en">managetags</span></a>, <a href="/w/api.php?action=help&modules=markfortranslation"><span dir="ltr" lang="en">markfortranslation</span></a>, <a href="/w/api.php?action=help&modules=massmessage"><span dir="ltr" lang="en">massmessage</span></a>, <a href="/w/api.php?action=help&modules=mergehistory"><span dir="ltr" lang="en">mergehistory</span></a>, <a href="/w/api.php?action=help&modules=move"><span dir="ltr" lang="en">move</span></a>, <a href="/w/api.php?action=help&modules=newslettersubscribe"><span dir="ltr" lang="en">newslettersubscribe</span></a>, <a href="/w/api.php?action=help&modules=opensearch"><span dir="ltr" lang="en">opensearch</span></a>, <a href="/w/api.php?action=help&modules=options"><span dir="ltr" lang="en">options</span></a>, <a href="/w/api.php?action=help&modules=paraminfo"><span dir="ltr" lang="en">paraminfo</span></a>, <a href="/w/api.php?action=help&modules=parse"><span dir="ltr" lang="en">parse</span></a>, <a href="/w/api.php?action=help&modules=patrol"><span dir="ltr" lang="en">patrol</span></a>, <a href="/w/api.php?action=help&modules=protect"><span dir="ltr" lang="en">protect</span></a>, <a href="/w/api.php?action=help&modules=purge"><span dir="ltr" lang="en">purge</span></a>, <a href="/w/api.php?action=help&modules=query"><span dir="ltr" lang="en">query</span></a>, <a href="/w/api.php?action=help&modules=removeauthenticationdata"><span dir="ltr" lang="en">removeauthenticationdata</span></a>, <a href="/w/api.php?action=help&modules=resetpassword"><span dir="ltr" lang="en">resetpassword</span></a>, <a href="/w/api.php?action=help&modules=revisiondelete"><span dir="ltr" lang="en">revisiondelete</span></a>, <a href="/w/api.php?action=help&modules=rollback"><span dir="ltr" lang="en">rollback</span></a>, <a href="/w/api.php?action=help&modules=rsd"><span dir="ltr" lang="en">rsd</span></a>, <a href="/w/api.php?action=help&modules=searchtranslations"><span dir="ltr" lang="en">searchtranslations</span></a>, <a href="/w/api.php?action=help&modules=setglobalaccountstatus"><span dir="ltr" lang="en">setglobalaccountstatus</span></a>, <a href="/w/api.php?action=help&modules=setnotificationtimestamp"><span dir="ltr" lang="en">setnotificationtimestamp</span></a>, <a href="/w/api.php?action=help&modules=setpagelanguage"><span dir="ltr" lang="en">setpagelanguage</span></a>, <a href="/w/api.php?action=help&modules=shortenurl"><span dir="ltr" lang="en">shortenurl</span></a>, <a href="/w/api.php?action=help&modules=sitematrix"><span dir="ltr" lang="en">sitematrix</span></a>, <a href="/w/api.php?action=help&modules=spamblacklist"><span dir="ltr" lang="en">spamblacklist</span></a>, <a href="/w/api.php?action=help&modules=streamconfigs"><span dir="ltr" lang="en">streamconfigs</span></a>, <a href="/w/api.php?action=help&modules=strikevote"><span dir="ltr" lang="en">strikevote</span></a>, <a href="/w/api.php?action=help&modules=tag"><span dir="ltr" lang="en">tag</span></a>, <a href="/w/api.php?action=help&modules=templatedata"><span dir="ltr" lang="en">templatedata</span></a>, <a href="/w/api.php?action=help&modules=thank"><span dir="ltr" lang="en">thank</span></a>, <a href="/w/api.php?action=help&modules=threadaction"><span dir="ltr" lang="en">threadaction</span></a>, <a href="/w/api.php?action=help&modules=titleblacklist"><span dir="ltr" lang="en">titleblacklist</span></a>, <a href="/w/api.php?action=help&modules=torblock"><span dir="ltr" lang="en">torblock</span></a>, <a href="/w/api.php?action=help&modules=transcodereset"><span dir="ltr" lang="en">transcodereset</span></a>, <a href="/w/api.php?action=help&modules=translationaids"><span dir="ltr" lang="en">translationaids</span></a>, <a href="/w/api.php?action=help&modules=translationreview"><span dir="ltr" lang="en">translationreview</span></a>, <a href="/w/api.php?action=help&modules=translationstats"><span dir="ltr" lang="en">translationstats</span></a>, <a href="/w/api.php?action=help&modules=ttmserver"><span dir="ltr" lang="en">ttmserver</span></a>, <a href="/w/api.php?action=help&modules=unblock"><span dir="ltr" lang="en">unblock</span></a>, <a href="/w/api.php?action=help&modules=undelete"><span dir="ltr" lang="en">undelete</span></a>, <a href="/w/api.php?action=help&modules=unlinkaccount"><span dir="ltr" lang="en">unlinkaccount</span></a>, <a href="/w/api.php?action=help&modules=upload"><span dir="ltr" lang="en">upload</span></a>, <a href="/w/api.php?action=help&modules=userrights"><span dir="ltr" lang="en">userrights</span></a>, <a href="/w/api.php?action=help&modules=validatepassword"><span dir="ltr" lang="en">validatepassword</span></a>, <a href="/w/api.php?action=help&modules=watch"><span dir="ltr" lang="en">watch</span></a>, <a href="/w/api.php?action=help&modules=webapp-manifest"><span dir="ltr" lang="en">webapp-manifest</span></a>, <a href="/w/api.php?action=help&modules=webauthn"><span dir="ltr" lang="en">webauthn</span></a>, <a href="/w/api.php?action=help&modules=wikilove"><span dir="ltr" lang="en">wikilove</span></a>, <a href="/w/api.php?action=help&modules=bouncehandler"><span dir="ltr" lang="en" class="apihelp-internal-value">bouncehandler</span></a>, <a href="/w/api.php?action=help&modules=categorytree"><span dir="ltr" lang="en" class="apihelp-internal-value">categorytree</span></a>, <a href="/w/api.php?action=help&modules=cirrus-check-sanity"><span dir="ltr" lang="en" class="apihelp-internal-value">cirrus-check-sanity</span></a>, <a href="/w/api.php?action=help&modules=collection"><span dir="ltr" lang="en" class="apihelp-internal-value">collection</span></a>, <a href="/w/api.php?action=help&modules=cspreport"><span dir="ltr" lang="en" class="apihelp-internal-value">cspreport</span></a>, <a href="/w/api.php?action=help&modules=discussiontoolscompare"><span dir="ltr" lang="en" class="apihelp-internal-value">discussiontoolscompare</span></a>, <a href="/w/api.php?action=help&modules=discussiontoolspageinfo"><span dir="ltr" lang="en" class="apihelp-internal-value">discussiontoolspageinfo</span></a>, <a href="/w/api.php?action=help&modules=discussiontoolspreview"><span dir="ltr" lang="en" class="apihelp-internal-value">discussiontoolspreview</span></a>, <a href="/w/api.php?action=help&modules=editcheckreferenceurl"><span dir="ltr" lang="en" class="apihelp-internal-value">editcheckreferenceurl</span></a>, <a href="/w/api.php?action=help&modules=fancycaptchareload"><span dir="ltr" lang="en" class="apihelp-internal-value">fancycaptchareload</span></a>, <a href="/w/api.php?action=help&modules=jsondata"><span dir="ltr" lang="en" class="apihelp-internal-value">jsondata</span></a>, <a href="/w/api.php?action=help&modules=managegroupsynchronizationcache"><span dir="ltr" lang="en" class="apihelp-internal-value">managegroupsynchronizationcache</span></a>, <a href="/w/api.php?action=help&modules=managemessagegroups"><span dir="ltr" lang="en" class="apihelp-internal-value">managemessagegroups</span></a>, <a href="/w/api.php?action=help&modules=messagegroupsubscription"><span dir="ltr" lang="en" class="apihelp-internal-value">messagegroupsubscription</span></a>, <a href="/w/api.php?action=help&modules=oathvalidate"><span dir="ltr" lang="en" class="apihelp-internal-value">oathvalidate</span></a>, <a href="/w/api.php?action=help&modules=parser-migration"><span dir="ltr" lang="en" class="apihelp-internal-value">parser-migration</span></a>, <a href="/w/api.php?action=help&modules=readinglists"><span dir="ltr" lang="en" class="apihelp-internal-value">readinglists</span></a>, <a href="/w/api.php?action=help&modules=sanitize-mapdata"><span dir="ltr" lang="en" class="apihelp-internal-value">sanitize-mapdata</span></a>, <a href="/w/api.php?action=help&modules=scribunto-console"><span dir="ltr" lang="en" class="apihelp-internal-value">scribunto-console</span></a>, <a href="/w/api.php?action=help&modules=securepollauth"><span dir="ltr" lang="en" class="apihelp-internal-value">securepollauth</span></a>, <a href="/w/api.php?action=help&modules=stashedit"><span dir="ltr" lang="en" class="apihelp-internal-value">stashedit</span></a>, <a href="/w/api.php?action=help&modules=timedtext"><span dir="ltr" lang="en" class="apihelp-internal-value">timedtext</span></a>, <a href="/w/api.php?action=help&modules=translationcheck"><span dir="ltr" lang="en" class="apihelp-internal-value">translationcheck</span></a>, <a href="/w/api.php?action=help&modules=translationentitysearch"><span dir="ltr" lang="en" class="apihelp-internal-value">translationentitysearch</span></a>, <a href="/w/api.php?action=help&modules=ulslocalization"><span dir="ltr" lang="en" class="apihelp-internal-value">ulslocalization</span></a>, <a href="/w/api.php?action=help&modules=ulssetlang"><span dir="ltr" lang="en" class="apihelp-internal-value">ulssetlang</span></a>, <a href="/w/api.php?action=help&modules=visualeditor"><span dir="ltr" lang="en" class="apihelp-internal-value">visualeditor</span></a>, <a href="/w/api.php?action=help&modules=visualeditoredit"><span dir="ltr" lang="en" class="apihelp-internal-value">visualeditoredit</span></a>, <a href="/w/api.php?action=help&modules=wikimediaeventsblockededit"><span dir="ltr" lang="en" class="apihelp-internal-value">wikimediaeventsblockededit</span></a></dd><dd class="info">Default: help</dd><dt><span dir="ltr" lang="en" id="main:format">format</span></dt><dd class="description"><p>The format of the output. </p><dl><dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=json">json</a></span></dt> <dd>Output data in JSON format.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=jsonfm">jsonfm</a></span></dt> <dd>Output data in JSON format (pretty-print in HTML).</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=none">none</a></span></dt> <dd>Output nothing.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=php">php</a></span></dt> <dd>Output data in serialized PHP format.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=phpfm">phpfm</a></span></dt> <dd>Output data in serialized PHP format (pretty-print in HTML).</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=rawfm">rawfm</a></span></dt> <dd>Output data, including debugging elements, in JSON format (pretty-print in HTML).</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=xml">xml</a></span></dt> <dd>Output data in XML format.</dd> <dt><span dir="ltr" lang="en"><a href="/w/api.php?action=help&modules=xmlfm">xmlfm</a></span></dt> <dd>Output data in XML format (pretty-print in HTML).</dd></dl></dd><dd class="info">One of the following values: <a href="/w/api.php?action=help&modules=json"><span dir="ltr" lang="en">json</span></a>, <a href="/w/api.php?action=help&modules=jsonfm"><span dir="ltr" lang="en">jsonfm</span></a>, <a href="/w/api.php?action=help&modules=none"><span dir="ltr" lang="en">none</span></a>, <a href="/w/api.php?action=help&modules=php"><span dir="ltr" lang="en">php</span></a>, <a href="/w/api.php?action=help&modules=phpfm"><span dir="ltr" lang="en">phpfm</span></a>, <a href="/w/api.php?action=help&modules=rawfm"><span dir="ltr" lang="en">rawfm</span></a>, <a href="/w/api.php?action=help&modules=xml"><span dir="ltr" lang="en">xml</span></a>, <a href="/w/api.php?action=help&modules=xmlfm"><span dir="ltr" lang="en">xmlfm</span></a></dd><dd class="info">Default: jsonfm</dd><dt><span dir="ltr" lang="en" id="main:maxlag">maxlag</span></dt><dd class="description"><p>Maximum lag can be used when MediaWiki is installed on a database replicated cluster. To save actions causing any more site replication lag, this parameter can make the client wait until the replication lag is less than the specified value. In case of excessive lag, error code <samp>maxlag</samp> is returned with a message like <samp>Waiting for $host: $lag seconds lagged</samp>.<br>See <a href="/wiki/Special:MyLanguage/Manual:Maxlag_parameter" title="Special:MyLanguage/Manual:Maxlag parameter">Manual: Maxlag parameter</a> for more information. </p></dd><dd class="info">Type: integer</dd><dt><span dir="ltr" lang="en" id="main:smaxage">smaxage</span></dt><dd class="description"><p>Set the <code>s-maxage</code> HTTP cache control header to this many seconds. Errors are never cached. </p></dd><dd class="info">Type: integer</dd><dd class="info">The value must be no less than 0.</dd><dd class="info">Default: 0</dd><dt><span dir="ltr" lang="en" id="main:maxage">maxage</span></dt><dd class="description"><p>Set the <code>max-age</code> HTTP cache control header to this many seconds. Errors are never cached. </p></dd><dd class="info">Type: integer</dd><dd class="info">The value must be no less than 0.</dd><dd class="info">Default: 0</dd><dt><span dir="ltr" lang="en" id="main:assert">assert</span></dt><dd class="description"><p>Verify that the user is logged in (including possibly as a temporary user) if set to <kbd>user</kbd>, <em>not</em> logged in if set to <kbd>anon</kbd>, or has the bot user right if <kbd>bot</kbd>. </p></dd><dd class="info">One of the following values: anon, bot, user</dd><dt><span dir="ltr" lang="en" id="main:assertuser">assertuser</span></dt><dd class="description"><p>Verify the current user is the named user. </p></dd><dd class="info">Type: user, by any of username and Temporary user</dd><dt><span dir="ltr" lang="en" id="main:requestid">requestid</span></dt><dd class="description"><p>Any value given here will be included in the response. May be used to distinguish requests. </p></dd><dt><span dir="ltr" lang="en" id="main:servedby">servedby</span></dt><dd class="description"><p>Include the hostname that served the request in the results. </p></dd><dd class="info">Type: boolean (<a href="#main/datatype/boolean">details</a>)</dd><dt><span dir="ltr" lang="en" id="main:curtimestamp">curtimestamp</span></dt><dd class="description"><p>Include the current timestamp in the result. </p></dd><dd class="info">Type: boolean (<a href="#main/datatype/boolean">details</a>)</dd><dt><span dir="ltr" lang="en" id="main:responselanginfo">responselanginfo</span></dt><dd class="description"><p>Include the languages used for <var>uselang</var> and <var>errorlang</var> in the result. </p></dd><dd class="info">Type: boolean (<a href="#main/datatype/boolean">details</a>)</dd><dt><span dir="ltr" lang="en" id="main:origin">origin</span></dt><dd class="description"><p>When accessing the API using a cross-domain AJAX request (CORS), set this to the originating domain. This must be included in any pre-flight request, and therefore must be part of the request URI (not the POST body). </p><p>For authenticated requests, this must match one of the origins in the <code>Origin</code> header exactly, so it has to be set to something like <kbd><a class="external free" href="https://en.wikipedia.org">https://en.wikipedia.org</a></kbd> or <kbd><a class="external free" href="https://meta.wikimedia.org">https://meta.wikimedia.org</a></kbd>. If this parameter does not match the <code>Origin</code> header, a 403 response will be returned. If this parameter matches the <code>Origin</code> header and the origin is allowed, the <code>Access-Control-Allow-Origin</code> and <code>Access-Control-Allow-Credentials</code> headers will be set. </p><p>For non-authenticated requests, specify the value <kbd>*</kbd>. This will cause the <code>Access-Control-Allow-Origin</code> header to be set, but <code>Access-Control-Allow-Credentials</code> will be <code>false</code> and all user-specific data will be restricted. </p></dd><dt><span dir="ltr" lang="en" id="main:uselang">uselang</span></dt><dd class="description"><p>Language to use for message translations. <kbd><a href="/w/api.php?action=help&modules=query%2Bsiteinfo">action=query&meta=siteinfo&siprop=languages</a></kbd> returns a list of language codes. You can specify <kbd>user</kbd> to use the current user's language preference or <kbd>content</kbd> to use this wiki's content language. </p></dd><dd class="info">Default: user</dd><dt><span dir="ltr" lang="en" id="main:variant">variant</span></dt><dd class="description"><p>Variant of the language. Only works if the base language supports variant conversion. </p></dd><dt><span dir="ltr" lang="en" id="main:errorformat">errorformat</span></dt><dd class="description"><p>Format to use for warning and error text output </p><dl><dt><span dir="ltr" lang="en">plaintext</span></dt> <dd>Wikitext with HTML tags removed and entities replaced.</dd> <dt><span dir="ltr" lang="en">wikitext</span></dt> <dd>Unparsed wikitext.</dd> <dt><span dir="ltr" lang="en">html</span></dt> <dd>HTML</dd> <dt><span dir="ltr" lang="en">raw</span></dt> <dd>Message key and parameters.</dd> <dt><span dir="ltr" lang="en">none</span></dt> <dd>No text output, only the error codes.</dd> <dt><span dir="ltr" lang="en">bc</span></dt> <dd>Format used prior to MediaWiki 1.29. <var>errorlang</var> and <var>errorsuselocal</var> are ignored.</dd></dl></dd><dd class="info">One of the following values: bc, html, none, plaintext, raw, wikitext</dd><dd class="info">Default: bc</dd><dt><span dir="ltr" lang="en" id="main:errorlang">errorlang</span></dt><dd class="description"><p>Language to use for warnings and errors. <kbd><a href="/w/api.php?action=help&modules=query%2Bsiteinfo">action=query&meta=siteinfo&siprop=languages</a></kbd> returns a list of language codes. Specify <kbd>content</kbd> to use this wiki's content language or <kbd>uselang</kbd> to use the same value as the <var>uselang</var> parameter. </p></dd><dd class="info">Default: uselang</dd><dt><span dir="ltr" lang="en" id="main:errorsuselocal">errorsuselocal</span></dt><dd class="description"><p>If given, error texts will use locally-customized messages from the MediaWiki namespace. </p></dd><dd class="info">Type: boolean (<a href="#main/datatype/boolean">details</a>)</dd><dt><span dir="ltr" lang="en" id="main:centralauthtoken">centralauthtoken</span></dt><dd class="description"><p>When accessing the API using a cross-domain AJAX request (CORS), use this to authenticate as the current SUL user. Use <kbd><a href="/w/api.php?action=help&modules=centralauthtoken">action=centralauthtoken</a></kbd> on this wiki to retrieve the token, before making the CORS request. Each token may only be used once, and expires after 10 seconds. This should be included in any pre-flight request, and therefore should be included in the request URI (not the POST body). </p></dd></dl></div> <div class="apihelp-block apihelp-examples"><div class="apihelp-block-head">Examples:</div><dl><dt>Help for the main module.</dt><dd><a href="/w/api.php?action=help" dir="ltr" rel="nofollow">api.php?action=help</a> <a href="/wiki/Special:ApiSandbox#action=help"><small>[open in sandbox]</small></a></dd><dt>All help in one page.</dt><dd><a href="/w/api.php?action=help&recursivesubmodules=1" dir="ltr" rel="nofollow">api.php?action=help&recursivesubmodules=1</a> <a href="/wiki/Special:ApiSandbox#action=help&recursivesubmodules=1"><small>[open in sandbox]</small></a></dd></dl></div> <div class="apihelp-block apihelp-permissions"><div class="apihelp-block-head">Permission:</div><dl><dt>apihighlimits</dt><dd>Use higher limits in API queries (slow queries: 500; fast queries: 5000). The limits for slow queries also apply to multivalue parameters.</dd><dd>Granted to: bot and sysop</dd></dl></div> <h3 class="apihelp-header" id="main/datatypes">Data types</h3><p>Input to MediaWiki should be NFC-normalized UTF-8. MediaWiki may attempt to convert other input, but this may cause some operations (such as <a href="/w/api.php?action=help&modules=edit">edits</a> with MD5 checks) to fail. </p><p>Parameters that take multiple values are normally submitted with the values separated using the pipe character, e.g. <kbd>param=value1|value2</kbd> or <kbd>param=value1%7Cvalue2</kbd>. If a value must contain the pipe character, use U+001F (Unit Separator) as the separator <i>and</i> prefix the value with U+001F, e.g. <kbd>param=%1Fvalue1%1Fvalue2</kbd>. </p><p>Some parameter types in API requests need further explanation: </p><dl><dt id="main/datatype/boolean">boolean</dt><dd><p>Boolean parameters work like HTML checkboxes: if the parameter is specified, regardless of value, it is considered true. For a false value, omit the parameter entirely. </p></dd><dt id="main/datatype/expiry">expiry</dt><dd><p>Expiry values may be relative (e.g. <kbd>5 months</kbd> or <kbd>2 weeks</kbd>) or absolute (e.g. <kbd>2014-09-18T12:34:56Z</kbd>). For no expiry, use <kbd>infinite</kbd>, <kbd>indefinite</kbd>, <kbd>infinity</kbd> or <kbd>never</kbd>. </p></dd><dt id="main/datatype/timestamp">timestamp</dt><dd><p>Timestamps may be specified in several formats, see <a href="/wiki/Special:MyLanguage/Timestamp" title="Special:MyLanguage/Timestamp">the Timestamp library input formats documented on mediawiki.org</a> for details. ISO 8601 date and time is recommended: <kbd><var>2001</var>-<var>01</var>-<var>15</var>T<var>14</var>:<var>56</var>:<var>00</var>Z</kbd>. Additionally, the string <kbd>now</kbd> may be used to specify the current timestamp. </p></dd></dl> <h3 class="apihelp-header" id="main/templatedparams">Templated parameters</h3><p>Templated parameters support cases where an API module needs a value for each value of some other parameter. For example, if there were an API module to request fruit, it might have a parameter <var>fruits</var> to specify which fruits are being requested and a templated parameter <var>{fruit}-quantity</var> to specify how many of each fruit to request. An API client that wants 1 apple, 5 bananas, and 20 strawberries could then make a request like <kbd>fruits=apples|bananas|strawberries&apples-quantity=1&bananas-quantity=5&strawberries-quantity=20</kbd>. </p> <h3 class="apihelp-header" id="main/credits">Credits</h3><p>API developers: </p> <ul><li>Yuri Astrakhan (creator, lead developer Sep 2006–Sep 2007)</li> <li>Roan Kattouw (lead developer Sep 2007–2009)</li> <li>Victor Vasiliev</li> <li>Bryan Tong Minh</li> <li>Sam Reed</li> <li>Brad Jorsch (lead developer 2013–2020)</li></ul> <p>Please send your comments, suggestions and questions to mediawiki-api@lists.wikimedia.org or file a bug report at <a class="external free" href="https://phabricator.wikimedia.org/">https://phabricator.wikimedia.org/</a>. </p><!--esi <esi:include src="/esitest-fa8a495983347898/content" /> --><noscript><img src="https://login.wikimedia.org/wiki/Special:CentralAutoLogin/start?type=1x1" alt="" width="1" height="1" style="border: none; position: absolute;"></noscript> <div class="printfooter" data-nosnippet="">Retrieved from "<a dir="ltr" href="https://www.mediawiki.org/wiki/Special:ApiHelp">https://www.mediawiki.org/wiki/Special:ApiHelp</a>"</div></div> </div> </div> <script>(RLQ=window.RLQ||[]).push(function(){mw.log.warn("This page is using the deprecated ResourceLoader module \"mediawiki.skinning.interface\".\n[1.43] The use of the `interface-message-box` feature with SkinModule is deprecated in favor of CodexModule. Please remove this feature.More information can be found at [[mw:Manual:ResourceLoaderSkinModule]]. ");mw.config.set({"wgHostname":"mw-api-ext.codfw.main-74d78f4769-ns6cb","wgBackendResponseTime":373});});</script> </body> </html>