Справка MediaWiki API

This is an auto-generated MediaWiki API documentation page.

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

format=xmlfm

(main | xmlfm)
  • Этот модуль требует прав на чтение.
  • Источник: MediaWiki
  • Лицензия: GPL-2.0+

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

Параметры:
wrappedhtml

Return the pretty-printed HTML and associated ResourceLoader modules as a JSON object.

Тип: двоичный (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.

Тип: двоичный (details)
Пример:
Return the query result in the XML format.
api.php?action=query&meta=siteinfo&siprop=namespaces&format=xmlfm [open in sandbox]