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.
- Iturria: JsonConfig
- Lizentzia: GPL-2.0-or-later
Allows direct access to JsonConfig subsystem.
Parametroak:
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.
- Lehenetsia: (hutsik)
- content
For command=reload, use this content instead.
- Lehenetsia: (hutsik)
Adibideak:
- 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]