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=php

(main | php)
  • This module requires read rights.
  • Source: MediaWiki
  • License: GPL-2.0-or-later

Output data in serialized PHP format.

  • https://www.mediawiki.org/wiki/Special:MyLanguage/API:Data_formats
Specific parameter:
Other general parameters are available.
formatversion

Output formatting

1
Backwards-compatible format (XML-style booleans, * keys for content nodes, etc.).
2
Modern format.
latest
Use the latest format (currently 2), may change without warning.
One of the following values: 1, 2, latest
Default: 1
Example:
Return the query result in the PHP format.
api.php?action=query&meta=siteinfo&siprop=namespaces&format=php [open in sandbox]
Retrieved from "https://tunearch.org/wiki/Special:ApiHelp"

We use cookies (and similar technologies) to personalise content and improve The Traditional Tune Archive website.

With these cookies we collect few and indispensable information about you. With this we adapt our website and communication to your preferences. You can read more about it in our privacy policy.

If you want to manage your cookie preferences, click on Manage preferences. By clicking on Accept all, you agree to the use of all cookies. You can change or withdraw your consent at any time.

Accept all cookiesManage preferences
Something went wrong
Dismiss