Помоћ око Медијавикијевог API-ја
Ово је аутоматски генерисана документација за Медијавики API
Документација и примери: -{R|https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page}-
action=jsonconfig
(main | jsonconfig)
- This module requires read rights.
- Извор: JsonConfig
- Лиценца: GPL-2.0-or-later
Allows direct access to JsonConfig subsystem.
Параметри:
- 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.
- Подразумевано: (нема)
- content
For command=reload, use this content instead.
- Подразумевано: (нема)
Примери:
- 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]