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
action=jsondata
(main | jsondata)
- This module is internal or unstable. Its operation may change without notice.
- This module requires read rights.
- Source: JsonConfig
- Licence: GPL-2.0-or-later
Retrieve localized JSON data.
Parameter:
- title
Title to get. By default assumes namespace to be "Data:"
- This parameter is required.
Examples:
- Get JSON content of the Sample.tab page, localized to user's language
- api.php?action=jsondata&formatversion=2&format=jsonfm&title=Sample.tab [open in sandbox]
- Get JSON content of the Sample.tab page localized to French
- api.php?action=jsondata&formatversion=2&format=jsonfm&title=Sample.tab&uselang=fr [open in sandbox]