MediaWiki API 结果

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

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

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

{
    "error": {
        "code": "internal_api_error_Error",
        "info": "[4a5ad355faf25e173273343f] Exception caught: Call to undefined method MediaWiki\\Api\\ApiMain::dieUsage()",
        "errorclass": "Error",
        "*": "Error at /www/wwwroot/pedia.caellab.com/LocalSettings.php(502)\nfrom /www/wwwroot/pedia.caellab.com/LocalSettings.php(502)\n#0 /www/wwwroot/pedia.caellab.com/includes/HookContainer/HookContainer.php(134): {closure}()\n#1 /www/wwwroot/pedia.caellab.com/includes/HookContainer/HookRunner.php(730): MediaWiki\\HookContainer\\HookContainer->run()\n#2 /www/wwwroot/pedia.caellab.com/includes/api/ApiEntryPoint.php(124): MediaWiki\\HookContainer\\HookRunner->onApiBeforeMain()\n#3 /www/wwwroot/pedia.caellab.com/includes/MediaWikiEntryPoint.php(184): MediaWiki\\Api\\ApiEntryPoint->execute()\n#4 /www/wwwroot/pedia.caellab.com/api.php(30): MediaWiki\\MediaWikiEntryPoint->run()\n#5 {main}"
    }
}