MediaWiki API 结果
这是JSON格式的HTML实现。HTML对调试很有用,但不适合应用程序使用。
指定format参数以更改输出格式。要查看JSON格式的非HTML实现,设置format=json。
{
"parse": {
"title": "\u4fc4\u7f57\u65af\u65b9\u5757\u4e2d\u6587\u7ef4\u57fa:Sandbox",
"pageid": 5575,
"revid": 5640,
"text": {
"*": "<div class=\"mw-parser-output\"><div class=\"redirectMsg\"><p>\u91cd\u5b9a\u5411\u5230\uff1a</p><ul class=\"redirectText\"><li><a href=\"/p/%E4%BF%84%E7%BD%97%E6%96%AF%E6%96%B9%E5%9D%97%E4%B8%AD%E6%96%87%E7%BB%B4%E5%9F%BA:%E6%B2%99%E7%9B%92\" title=\"\u4fc4\u7f57\u65af\u65b9\u5757\u4e2d\u6587\u7ef4\u57fa:\u6c99\u76d2\">\u4fc4\u7f57\u65af\u65b9\u5757\u4e2d\u6587\u7ef4\u57fa:\u6c99\u76d2</a></li></ul></div>\n<!-- \nNewPP limit report\nCached time: 20260110030718\nCache expiry: 86400\nReduced expiry: false\nComplications: []\nCPU time usage: 0.001 seconds\nReal time usage: 0.009 seconds\nPreprocessor visited node count: 0/1000000\nPost\u2010expand include size: 0/2097152 bytes\nTemplate argument size: 0/2097152 bytes\nHighest expansion depth: 0/100\nExpensive parser function count: 0/100\nUnstrip recursion depth: 0/20\nUnstrip post\u2010expand size: 0/5000000 bytes\n-->\n<!--\nTransclusion expansion time report (%,ms,calls,template)\n100.00% 0.000 1 -total\n-->\n\n<!-- Saved in parser cache with key testwiki:pcache:idhash:5575-0!canonical and timestamp 20260110030718 and revision id 5640.\n -->\n</div>"
},
"langlinks": [],
"categories": [],
"links": [
{
"ns": 4,
"exists": "",
"*": "\u4fc4\u7f57\u65af\u65b9\u5757\u4e2d\u6587\u7ef4\u57fa:\u6c99\u76d2"
}
],
"templates": [],
"images": [],
"externallinks": [],
"sections": [],
"parsewarnings": [],
"displaytitle": "<span class=\"mw-page-title-namespace\">\u4fc4\u7f57\u65af\u65b9\u5757\u4e2d\u6587\u7ef4\u57fa</span><span class=\"mw-page-title-separator\">:</span><span class=\"mw-page-title-main\">Sandbox</span>",
"iwlinks": [],
"properties": []
}
}