You are looking at the HTML representation of the XML format.
HTML is good for debugging, but is unsuitable for application use.
Specify the format parameter to change the output format.
To see the non HTML representation of the XML format, set format=xml.
See the complete documentation, or
API help for more information.
<?xml version="1.0"?>
<api>
<warnings>
<paraminfo xml:space="preserve">Unrecognized value for parameter 'querymodules': allpages%7Csiteinfo</paraminfo>
</warnings>
<paraminfo>
<modules>
<module classname="ApiParse" description="Parses content and returns parser output. See the various prop-Modules of action=query to get information from the currentversion of a page. There are several ways to specify the text to parse: 1) Specify a page or revision, using page, pageid, or oldid. 2) Specify content explicitly, using text, title, and contentmodel. 3) Specify only a summary to parse. prop should be given an empty value." examples="Parse a page api.php?action=parse&page=Project:Sandbox Parse wikitext api.php?action=parse&text={{Project:Sandbox}}&contentmodel=wikitext Parse wikitext, specifying the page title api.php?action=parse&text={{PAGENAME}}&title=Test Parse a summary api.php?action=parse&summary=Some+[[link]]&prop=" version="" prefix="" readrights="" name="parse">
<helpurls>
<helpurl>https://www.mediawiki.org/wiki/API:Parsing_wikitext#parse</helpurl>
</helpurls>
<allexamples>
<example description="Parse a page" xml:space="preserve">api.php?action=parse&page=Project:Sandbox</example>
<example description="Parse wikitext" xml:space="preserve">api.php?action=parse&text={{Project:Sandbox}}&contentmodel=wikitext</example>
<example description="Parse wikitext, specifying the page title" xml:space="preserve">api.php?action=parse&text={{PAGENAME}}&title=Test</example>
<example description="Parse a summary" xml:space="preserve">api.php?action=parse&summary=Some+[[link]]&prop=</example>
</allexamples>
<parameters>
<param name="title" description="Title of page the text belongs to. If omitted, contentmodel must be specified, and "API" will be used as the title" type="string" />
<param name="text" description="Text to parse. Use title or contentmodel to control the content model" type="string" />
<param name="summary" description="Summary to parse" type="string" />
<param name="page" description="Parse the content of this page. Cannot be used together with text and title" type="string" />
<param name="pageid" description="Parse the content of this page. Overrides page" type="integer" />
<param name="redirects" description="If the page or the pageid parameter is set to a redirect, resolve it" default="false" type="boolean" />
<param name="oldid" description="Parse the content of this revision. Overrides page and pageid" type="integer" />
<param name="prop" description="Which pieces of information to get text - Gives the parsed text of the wikitext langlinks - Gives the language links in the parsed wikitext categories - Gives the categories in the parsed wikitext categorieshtml - Gives the HTML version of the categories links - Gives the internal links in the parsed wikitext templates - Gives the templates in the parsed wikitext images - Gives the images in the parsed wikitext externallinks - Gives the external links in the parsed wikitext sections - Gives the sections in the parsed wikitext revid - Adds the revision ID of the parsed page displaytitle - Adds the title of the parsed wikitext headitems - Gives items to put in the <head> of the page headhtml - Gives parsed <head> of the page modules - Gives the ResourceLoader modules used on the page iwlinks - Gives interwiki links in the parsed wikitext wikitext - Gives the original wikitext that was parsed properties - Gives various properties defined in the parsed wikitext limitreportdata - Gives the limit report in a structured way. Gives no data, when disablepp is set. limitreporthtml - Gives the HTML version of the limit report. Gives no data, when disablepp is set." default="text|langlinks|categories|links|templates|images|externallinks|sections|revid|displaytitle|iwlinks|properties" multi="" limit="50" lowlimit="50" highlimit="500">
<type>
<t>text</t>
<t>langlinks</t>
<t>categories</t>
<t>categorieshtml</t>
<t>links</t>
<t>templates</t>
<t>images</t>
<t>externallinks</t>
<t>sections</t>
<t>revid</t>
<t>displaytitle</t>
<t>headitems</t>
<t>headhtml</t>
<t>modules</t>
<t>iwlinks</t>
<t>wikitext</t>
<t>properties</t>
<t>limitreportdata</t>
<t>limitreporthtml</t>
</type>
</param>
<param name="pst" description="Do a pre-save transform on the input before parsing it Only valid when used with text" default="false" type="boolean" />
<param name="onlypst" description="Do a pre-save transform (PST) on the input, but don't parse it Returns the same wikitext, after a PST has been applied. Only valid when used with text" default="false" type="boolean" />
<param name="effectivelanglinks" description="Includes language links supplied by extensions (for use with prop=langlinks)" default="false" type="boolean" />
<param name="uselang" description="Which language to parse the request in" type="string" />
<param name="section" description="Only retrieve the content of this section number" type="string" />
<param name="disablepp" description="Disable the PP Report from the parser output" default="false" type="boolean" />
<param name="disableeditsection" description="Disable edit section links from the parser output" default="false" type="boolean" />
<param name="generatexml" description="Generate XML parse tree (requires contentmodel=wikitext)" default="false" type="boolean" />
<param name="preview" description="Parse in preview mode" default="false" type="boolean" />
<param name="sectionpreview" description="Parse in section preview mode (enables preview mode too)" default="false" type="boolean" />
<param name="disabletoc" description="Disable table of contents in output" default="false" type="boolean" />
<param name="contentformat" description="Content serialization format used for the input text Only valid when used with text">
<type>
<t>text/x-wiki</t>
<t>text/javascript</t>
<t>application/json</t>
<t>text/css</t>
<t>text/plain</t>
</type>
</param>
<param name="contentmodel" description="Content model of the input text. If omitted, title must be specified, and default will be the model of the specified title Only valid when used with text">
<type>
<t>wikitext</t>
<t>javascript</t>
<t>json</t>
<t>css</t>
<t>text</t>
</type>
</param>
</parameters>
</module>
</modules>
<querymodules />
</paraminfo>
</api>