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=jsonconfig
(main | jsonconfig)
- This module requires read rights.
- Source: JsonConfig
- License: GPL-2.0-or-later
Allows direct access to JsonConfig subsystem.
Specific parameters:
Other general parameters are available.
- command
Which sub-action to perform on JsonConfig:
- status
- Shows JsonConfig configuration.
- reset
- Clears configurations from cache. Requires title parameter and jsonconfig-flush right.
- reload
- Reloads and caches configurations from config store. Requires title parameter and jsonconfig-reset right.
- One of the following values: reload، reset، status
- Default: status
- namespace
Namespace number of the title to process.
- Type: integer
- title
Title to process without namespace prefix.
- Default: (empty)
- content
For command=reload, use this content instead.
- Default: (empty)
Examples:
- Show configuration
- api.php?action=jsonconfig&format=json [open in sandbox]
- Reset Data:Brazil/Amazonas.map
- api.php?action=jsonconfig&command=reset&namespace=486&title=Brazil/Amazonas.map&format=json [open in sandbox]
- Reload Data:Brazil/Amazonas.map
- api.php?action=jsonconfig&command=reload&namespace=486&title=Brazil/Amazonas.map&format=json [open in sandbox]