MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "gatcontinue": "2|672",
        "continue": "gatcontinue||"
    },
    "query": {
        "pages": {
            "20": {
                "pageid": 20,
                "ns": 8,
                "title": "MediaWiki:Gadget-EditAddButton.js"
            },
            "422": {
                "pageid": 422,
                "ns": 0,
                "title": "\u4f7f\u7528\u65b9\u6cd5/test3"
            },
            "439": {
                "pageid": 439,
                "ns": 10,
                "title": "\u6a21\u677f:Codepen"
            },
            "440": {
                "pageid": 440,
                "ns": 10,
                "title": "\u6a21\u677f:Codepen/doc"
            },
            "445": {
                "pageid": 445,
                "ns": 0,
                "title": "JavaScript/canvas/\u5f69\u8272\u7ebf\u6761"
            },
            "670": {
                "pageid": 670,
                "ns": 10,
                "title": "\u6a21\u677f:Codetab"
            },
            "671": {
                "pageid": 671,
                "ns": 10,
                "title": "\u6a21\u677f:Codetab/doc"
            },
            "1047": {
                "pageid": 1047,
                "ns": 0,
                "title": "\u4f7f\u7528\u65b9\u6cd5/test6"
            },
            "1868": {
                "pageid": 1868,
                "ns": 0,
                "title": "CSS/\u70b9\u548c\u7f51\u683c"
            }
        }
    }
}