MediaWiki API 结果
这是JSON格式的HTML实现。HTML对调试很有用,但不适合应用程序使用。
指定format参数以更改输出格式。要查看JSON格式的非HTML实现,设置format=json。
{
"error": {
"code": "internal_api_error_Error",
"info": "[da8f73e5542cc43ff026351e] Exception caught: Class \"MWNamespace\" not found",
"errorclass": "Error",
"*": "Error at /data/wwwroot/mh.wdf.ink/w/extensions/LinkSuggest/LinkSuggest.class.php(113)\nfrom /data/wwwroot/mh.wdf.ink/w/extensions/LinkSuggest/LinkSuggest.class.php(113)\n#0 /data/wwwroot/mh.wdf.ink/w/extensions/LinkSuggest/ApiLinkSuggest.php(25): LinkSuggest::get()\n#1 /data/wwwroot/mh.wdf.ink/w/includes/api/ApiMain.php(1935): ApiLinkSuggest->execute()\n#2 /data/wwwroot/mh.wdf.ink/w/includes/api/ApiMain.php(912): ApiMain->executeAction()\n#3 /data/wwwroot/mh.wdf.ink/w/includes/api/ApiMain.php(883): ApiMain->executeActionWithErrorHandling()\n#4 /data/wwwroot/mh.wdf.ink/w/api.php(95): ApiMain->execute()\n#5 /data/wwwroot/mh.wdf.ink/w/api.php(48): wfApiMain()\n#6 {main}"
}
}