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)
- Denne modulen krever lesetilgang.
- Kilde: MediaWiki
- Lisens: GPL-2.0-or-later
Output data in XML format.
Parametre:
- 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: boolsk verdi (detaljer)
Eksempel:
- Returner spørringsresultatet i formatet XML.
- api.php?action=query&meta=siteinfo&siprop=namespaces&format=xml [åpne i sandkasse]