Помощ за МедияУики API
Това е автоматично генерирана страница за документация на МедияУики API.
Документация и примери: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
format=rawfm
(main | rawfm)
- This module requires read rights.
- Source: MediaWiki
- License: GPL-2.0-or-later
Output data, including debugging elements, in JSON format (pretty-print in HTML).
Parameter:
- wrappedhtml
Return the pretty-printed HTML and associated ResourceLoader modules as a JSON object.
- Type: boolean (details)
Пример:
- Return the query result in the RAW format.
- api.php?action=query&meta=siteinfo&siprop=namespaces&format=rawfm [open in sandbox]