MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
format=xml
(main | xml)
- Denna modul kräver läsrättigheter.
- Source: MediaWiki
- License: GPL-2.0+
Output data in XML format.
Parametrar:
- xslt
If specified, adds the named page as an XSL stylesheet. The value must be a title in the MediaWiki namespace ending in
.xsl
.- includexmlnamespace
If specified, adds an XML namespace.
- Type: boolean (details)
- nocache
- (no description)
- Type: boolean (details)
- prop_append
- (no description)
- Type: boolean (details)
Example:
- Return the query result in the XML format.
- api.php?action=query&meta=siteinfo&siprop=namespaces&format=xml [open in sandbox]