MediaWiki API ヘルプ
このページは自動生成された MediaWiki API の説明文書ページです。
説明文書と例: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=jsonconfig
(main | jsonconfig)
- このモジュールは読み取りの権限を必要とします。
- ソース: 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-reset right.
- reload
- Reloads and caches configurations from config store. Requires title parameter and jsonconfig-reset right.
 
- 値 (次の値のいずれか1つ): reload、reset、status
- 既定: status
- namespace
- Namespace number of the title to process. 
- 型: 整数
- title
- 処理するページ名です。 
- 既定値: (空)
- content
- For command=reload, use this content instead. 
- 既定値: (空)
例:
- 設定内容を表示
- api.php?action=jsonconfig&format=json [サンドボックスで開く]
- Data:Brazil/Amazonas.map をリセット
- api.php?action=jsonconfig&command=reset&namespace=486&title=Brazil/Amazonas.map&format=json [サンドボックスで開く]
- Data:Brazil/Amazonas.map を再読み込み
- api.php?action=jsonconfig&command=reload&namespace=486&title=Brazil/Amazonas.map&format=json [サンドボックスで開く]