MediaWiki API 结果

这是JSON格式的HTML实现。HTML对调试很有用,但不适合应用程序使用。

指定format参数以更改输出格式。要查看JSON格式的非HTML实现,设置format=json

参见完整文档,或API帮助以获取更多信息。

{
    "error": {
        "code": "internal_api_error_LogicException",
        "info": "[32ff62535e5c1c1acd8b71cc] Exception caught: Process cache for 'zh-cn' should be set by now.",
        "errorclass": "LogicException",
        "*": "LogicException at /www/wwwroot/tcmwk.com/includes/cache/MessageCache.php(409)\n#0 /www/wwwroot/tcmwk.com/includes/cache/MessageCache.php(1091): MessageCache->load()\n#1 /www/wwwroot/tcmwk.com/includes/cache/MessageCache.php(1017): MessageCache->getMsgFromNamespace()\n#2 /www/wwwroot/tcmwk.com/includes/cache/MessageCache.php(988): MessageCache->getMessageForLang()\n#3 /www/wwwroot/tcmwk.com/includes/cache/MessageCache.php(930): MessageCache->getMessageFromFallbackChain()\n#4 /www/wwwroot/tcmwk.com/includes/language/Message.php(1304): MessageCache->get()\n#5 /www/wwwroot/tcmwk.com/includes/language/Message.php(862): Message->fetchMessage()\n#6 /www/wwwroot/tcmwk.com/includes/language/Message.php(954): Message->toString()\n#7 /www/wwwroot/tcmwk.com/includes/api/ApiFeedContributions.php(70): Message->text()\n#8 /www/wwwroot/tcmwk.com/includes/api/ApiMain.php(1593): ApiFeedContributions->execute()\n#9 /www/wwwroot/tcmwk.com/includes/api/ApiMain.php(529): ApiMain->executeAction()\n#10 /www/wwwroot/tcmwk.com/includes/api/ApiMain.php(500): ApiMain->executeActionWithErrorHandling()\n#11 /www/wwwroot/tcmwk.com/api.php(90): ApiMain->execute()\n#12 /www/wwwroot/tcmwk.com/api.php(45): wfApiMain()\n#13 {main}"
    }
}