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.
  • Source: MediaWiki
  • License: GPL-2.0+

Output data in PHP's print_r() format.

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