Trợ giúp về API MediaWiki
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)
- Mô đun này cần quyền đọc.
- Source: JsonConfig
- License: GPL-2.0-or-later
Allows direct access to JsonConfig subsystem.
Các tham số:
- command
Which sub-action to perform on JsonConfig:
- status
- Shows JsonConfig configuration.
- reset
- Clears configurations from cache. Requires title parameter and jsonconfig-reset right.
- reload
- Reloads and caches configurations from config store. Requires title parameter and jsonconfig-reset right.
- One of the following values: reload, reset, status
- Mặc định: status
- namespace
Namespace number of the title to process.
- Type: integer
- title
Title to process without namespace prefix.
- Mặc định: (trống)
- content
For command=reload, use this content instead.
- Mặc định: (trống)
Các ví dụ:
- 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]