API:Data formats

MediaWiki API supports a number of generic output formats (XML,JSON,YAML,...), and some domain specific formats (RSS, ...) for special modules.

Unless specified, all modules allow data output in all generic formats. To simplify debugging, all generic formats have "pretty-print in HTML" alternatives with 'fm' suffix. By default, xmlfm format is used.