MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

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

format=dbg

(main | dbg)
  • This module is deprecated.
  • This module requires read rights.
  • Source: MediaWiki
  • License: GPL-2.0+

Output data in PHP's var_export() code> format.

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