MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
format=rawfm
(main | rawfm)
- This module requires read rights.
- Source: MediaWiki
- Licence: GPL-2.0-or-later
Output data, including debugging elements, in JSON format (pretty-print in HTML).
Specific parameter:
Other general parameters are available.
- wrappedhtml
Return the pretty-printed HTML and associated ResourceLoader modules as a JSON object.
- Type: boolean (details)
Example:
- Return the query result in the RAW format.
- api.php?action=query&meta=siteinfo&siprop=namespaces&format=rawfm [open in sandbox]