MediaWiki API 结果
这是JSON格式的HTML实现。HTML对调试很有用,但不适合应用程序使用。
指定format参数以更改输出格式。要查看JSON格式的非HTML实现,设置format=json。
{
"batchcomplete": "",
"query": {
"gadgets": [
{
"id": "BwikiBatchEditor",
"metadata": {
"settings": {
"rights": [
"edit"
],
"skins": [],
"category": "Editing"
},
"module": {
"scripts": [
"MediaWiki:Gadget-BwikiBatchEditor.js"
],
"styles": [],
"dependencies": [],
"peers": [],
"messages": []
}
}
},
{
"id": "tippy",
"metadata": {
"settings": {
"rights": [],
"skins": [],
"hidden": "",
"category": "Editing"
},
"module": {
"scripts": [
"MediaWiki:Gadget-Tippy.js"
],
"styles": [
"MediaWiki:Gadget-Tippy-light-border.css"
],
"dependencies": [],
"peers": [],
"messages": []
}
}
},
{
"id": "Popup",
"metadata": {
"settings": {
"rights": [],
"skins": [],
"default": "",
"hidden": "",
"category": "Editing"
},
"module": {
"scripts": [
"MediaWiki:Gadget-popup.js"
],
"styles": [],
"dependencies": [
"ext.gadget.tippy"
],
"peers": [],
"messages": []
}
}
},
{
"id": "BilibiliVideo",
"metadata": {
"settings": {
"rights": [],
"skins": [],
"default": "",
"category": "Expand"
},
"module": {
"scripts": [
"MediaWiki:Gadget-BilibiliVideo.js"
],
"styles": [],
"dependencies": [],
"peers": [],
"messages": []
}
}
},
{
"id": "SpecialMypageFix",
"metadata": {
"settings": {
"rights": [],
"skins": [],
"default": "",
"hidden": "",
"category": "Util"
},
"module": {
"scripts": [
"MediaWiki:Gadget-SpecialMypageFix.js"
],
"styles": [
"MediaWiki:Gadget-SpecialMypageFix.css"
],
"dependencies": [],
"peers": [],
"messages": []
}
}
}
]
}
}