MediaWiki API hulp
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
format=xmlfm
(main | xmlfm)
- Voor deze module zijn leesrechten nodig.
- Bron: MediaWiki
- Licentie: GPL-2.0-or-later
Toon de data in het XML formaat (opgemaakt in HTML).
Specifieke parameters:
Other general parameters are available.
- wrappedhtml
Return the pretty-printed HTML and associated ResourceLoader modules as a JSON object.
- Type: boolean (details)
- 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)
Voorbeeld:
- Return the query result in the XML format.
- api.php?action=query&meta=siteinfo&siprop=namespaces&format=xmlfm [in de sandbox openen]