MediaWiki API 結果

這是JSON格式的HTML實現。HTML對除錯很有用,但不適合應用程式使用。

指定format參數以變更輸出格式。要查看JSON格式的非HTML實現,設定format=json

參見完整文件,或API說明以取得更多資訊。

{
    "warnings": {
        "main": {
            "*": "Security Warning: \"$wgDebugAPI\" is enabled."
        }
    },
    "batchcomplete": "",
    "query": {
        "pages": {
            "1": {
                "pageid": 1,
                "ns": 0,
                "title": "\u9996\u9801",
                "linkshere": [
                    {
                        "pageid": 1100,
                        "ns": 2,
                        "title": "\u7528\u6236:DC/\u6c99\u76d2/18"
                    },
                    {
                        "pageid": 2465,
                        "ns": 10,
                        "title": "\u6a21\u677f:Mainpage/banner"
                    },
                    {
                        "pageid": 2911,
                        "ns": 0,
                        "title": "\u5408\u773e\u7406\u4e8b\u6703\u7ba1\u7406\u59d4\u54e1\u6703"
                    }
                ]
            }
        }
    }
}