Помоћ око Медијавикијевог API-ја
Ово је аутоматски генерисана документација за Медијавики API
Документација и примери: -{R|https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page}-
format=xml
(main | xml)
- This module requires read rights.
- Извор: MediaWiki
- Лиценца: GPL-2.0-or-later
Output data in XML format.
Специфични параметри:
Other general parameters are available.
- xslt
If specified, adds the named page as an XSL stylesheet. The value must be a title in the Медијавики namespace ending in
.xsl
.- includexmlnamespace
If specified, adds an XML namespace.
- Type: boolean (details)
Пример:
- Return the query result in the XML format.
- api.php?action=query&meta=siteinfo&siprop=namespaces&format=xml [open in sandbox]