Trợ giúp về API MediaWiki

This is an auto-generated MediaWiki API documentation page.

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

format=xmlfm

(main | xmlfm)

Cho ra dữ liệu dưới dạng XML (định dạng bằng HTML).

Các tham số:
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)
Ví dụ:
Cho ra kết quả truy vấn dưới dạng XML.
api.php?action=query&meta=siteinfo&siprop=namespaces&format=xmlfm [open in sandbox]