MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/API

format=xmlfm

(main | xmlfm)
  • This module requires read rights.

Output data in XML format (pretty-print in HTML).

Parameters:
xslt

If specified, adds <xslt> as stylesheet. This should be a wiki page in the MediaWiki namespace whose page name ends with ".xsl".

includexmlnamespace

If specified, adds an XML namespace.

Example:
Format the query result in the XML format
api.php?action=query&meta=siteinfo&siprop=namespaces&format=xmlfm