MediaWiki API 结果
这是JSON格式的HTML实现。HTML对调试很有用,但不适合应用程序使用。
指定format参数以更改输出格式。要查看JSON格式的非HTML实现,设置format=json。
{
"batchcomplete": "",
"query": {
"gadgets": [
{
"id": "Wikiplus",
"desc": "Wikiplus<sup>E</sup> <small>\u7531\u840c\u767e\u7528\u6237\u59b9\u7a7a\u9171\u5f00\u53d1\u7684\u5feb\u901f\u7f16\u8f91\u5de5\u5177\u3002</small>"
},
{
"id": "edit",
"desc": "\u7f16\u8f91\u65f6\u8f7d\u5165JS<sup>D</sup>"
},
{
"id": "site-lib",
"desc": "\u5168\u7ad9\u652f\u6301\u5e93<sup>M</sup> <small>\u8bed\u8a00\uff1awgULS & wgUVS & wgUXS\uff0c\u5168\u5c40\u5f15\u7528\uff1amw.util.addPortletLink => window.addPortletLink & mw.util.getParamValue => window.getParamValue & $(<i>element</i>).hasClass(<i>className</i>) => window.hasClass(<i>element</i>, <i>className</i>) & importScriptCallback => jQuery.ajax</small>"
},
{
"id": "libBottomRightCorner",
"desc": "\u53f3\u4e0b\u6309\u94ae<sup>M</sup> <small>\u63d0\u4f9b\u5168\u5c40<code>insertToBottomRightCorner</code>\u65b9\u6cd5\uff0c\u4ee5\u5728\u53f3\u4e0b\u89d2\u6dfb\u52a0\u6309\u94ae\u3002</small>"
},
{
"id": "libOOUIDialog",
"desc": "OOUI\u5f39\u7a97<sup>M</sup> <small>\u4f7f\u7528OOUI\u5b9e\u73b0\u7684\u5f02\u6b65<code>alert</code>\u3001<code>confirm</code>\u548c<code>prompt</code>\u3002</small>"
},
{
"id": "LocalObjectStorage",
"desc": "<a href=\"/index.php?title=%E7%94%A8%E6%88%B7:AnnAngela/js/LocalObjectStorage&action=edit&redlink=1\" class=\"new\" title=\"\u7528\u6237:AnnAngela/js/LocalObjectStorage\uff08\u9875\u9762\u4e0d\u5b58\u5728\uff09\">LocalObjectStorage</a><sup>M</sup> <small>\u7ed3\u6784\u5316\u6570\u636e\u4fdd\u5b58\u5e93\u3002</small>"
},
{
"id": "localforage",
"desc": "<a target=\"_blank\" rel=\"nofollow noreferrer noopener\" class=\"external text\" href=\"https://localforage.docschina.org/\">localForage</a><sup>M</sup> <small>\u7c7b\u4f3c<code>localStorage</code>\u7684\u5f02\u6b65\u5b58\u50a8JS\u5e93\u3002</small>"
},
{
"id": "cron",
"desc": "<a target=\"_blank\" rel=\"nofollow noreferrer noopener\" class=\"external text\" href=\"https://www.npmjs.com/package/cron\">Cron</a><sup>M</sup> <small>\u4f7f\u7528\u7c7b Cron \u8bed\u6cd5\u5efa\u7acb\u5b9a\u65f6\u4efb\u52a1\u3002</small>"
},
{
"id": "jQueryLazyload",
"desc": "<a target=\"_blank\" rel=\"nofollow noreferrer noopener\" class=\"external text\" href=\"https://appelsiini.net/projects/lazyload\">Lazy Load</a><sup>M</sup> <small>\u63d0\u4f9b\u5ef6\u8fdf\u52a0\u8f7d\u56fe\u7247\u529f\u80fd\u7684 jQuery \u63d2\u4ef6\u3002</small>"
},
{
"id": "libHashwasm",
"desc": "<a href=\"/index.php?title=%E5%B8%AE%E5%8A%A9:Hash-wasm%E5%BA%93&action=edit&redlink=1\" class=\"new\" title=\"\u5e2e\u52a9:Hash-wasm\u5e93\uff08\u9875\u9762\u4e0d\u5b58\u5728\uff09\">Hash-WASM</a><sup>M</sup> <small>\u63d0\u4f9b\u5e38\u89c1\u7684 Hash \u7b97\u6cd5\u3002</small>"
},
{
"id": "libJQuery",
"desc": "jQuery UI\u6269\u5c55<sup>M</sup> <small><span style=\"color:#d33;\">\u4ec5\u4f9b\u300cUserMessages\u300d\u5c0f\u5de5\u5177\u8c03\u7528\u3002</span></small>"
},
{
"id": "libUtil",
"desc": "\u7ef4\u57fa\u5171\u4eab\u5de5\u5177\u5e93<sup>M</sup> <small><span style=\"color:#d33;\">\u4ec5\u4f9b\u300cUserMessages\u300d\u5c0f\u5de5\u5177\u8c03\u7528\u3002</span></small>"
},
{
"id": "libPolyfill",
"desc": "Polyfill<sup>M</sup> <small>\u66f4\u65b0\u4e8e2024\u5e741\u67082\u65e5\uff08\u57fa\u4e8eChromium 70.0.3538.0\uff09\u3002</small>"
},
{
"id": "libip",
"desc": "<a target=\"_blank\" rel=\"nofollow noreferrer noopener\" class=\"external text\" href=\"https://www.npmjs.com/package/ip\">nodejs ip \u5e93</a> <sub>\u5728\u5168\u5c40\u4f5c\u7528\u57df\u63d0\u4f9b <code>libip</code> \u53d8\u91cf\u6307\u5411\u8be5\u5e93</sub>"
},
{
"id": "libAsyncLock",
"desc": "<a target=\"_blank\" rel=\"nofollow noreferrer noopener\" class=\"external text\" href=\"https://www.npmjs.com/package/async-lock\">async-lock\u5e93</a>"
},
{
"id": "luxon",
"desc": "<a target=\"_blank\" rel=\"nofollow noreferrer noopener\" class=\"external text\" href=\"https://moment.github.io/luxon/#/\">luxon \u65e5\u671f\u65f6\u95f4\u5e93</a> <sub>\u4e00\u4e2a\u5f3a\u5927\u7684\u3001\u73b0\u4ee3\u7684\u3001\u53cb\u597d\u7684 JavaScript \u65e5\u671f\u548c\u65f6\u95f4\u5305\u88c5\u5668\u3002</sub>"
},
{
"id": "libJSON5",
"desc": "<a target=\"_blank\" rel=\"nofollow noreferrer noopener\" class=\"external text\" href=\"https://github.com/json5/json5\">JSON5 \u5e93</a> <sub>JSON5 \u662f JSON \u7684\u8d85\u96c6\uff0c\u652f\u6301\u8bf8\u5982\u5c3e\u968f\u9017\u53f7\u3001\u5355\u5f15\u53f7\u5b57\u7b26\u4e32\u300116 \u8fdb\u5236\u6570\u5b57\u5b57\u9762\u91cf\u7b49\u529f\u80fd</sub>"
}
]
}
}