MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "gafcontinue": "Mbox-caution.svg|711",
        "continue": "gafcontinue||"
    },
    "query": {
        "pages": {
            "2": {
                "pageid": 2,
                "ns": 8,
                "title": "MediaWiki:Gadgets-definition"
            },
            "232": {
                "pageid": 232,
                "ns": 10,
                "title": "Template:Mbox"
            },
            "238": {
                "pageid": 238,
                "ns": 10,
                "title": "Template:Mbox/doc"
            },
            "253": {
                "pageid": 253,
                "ns": 10,
                "title": "Template:Gadgets-definition-top"
            },
            "272": {
                "pageid": 272,
                "ns": 0,
                "title": "Sword Art Online"
            },
            "461": {
                "pageid": 461,
                "ns": 10,
                "title": "Template:Interface template"
            },
            "478": {
                "pageid": 478,
                "ns": 10,
                "title": "Template:Mainpage"
            },
            "501": {
                "pageid": 501,
                "ns": 6,
                "title": "File:Wikiplus icon.svg"
            },
            "548": {
                "pageid": 548,
                "ns": 6,
                "title": "File:SAO 10th Anniversary.jpg"
            },
            "556": {
                "pageid": 556,
                "ns": 10,
                "title": "Template:\u754c\u9762\u6587\u4ef6"
            }
        }
    }
}