MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

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

format=txt

(main | txt)
  • This module is deprecated.
  • This module requires read rights.

Output data in PHP's print_r() format.

Example:
Format the query result in the TXT format.
api.php?action=query&meta=siteinfo&siprop=namespaces&format=txt