MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "arvcontinue": "20120807101143|30192",
        "continue": "-||"
    },
    "query": {
        "allrevisions": [
            {
                "pageid": 11153,
                "revisions": [
                    {
                        "revid": 30598,
                        "parentid": 30597,
                        "minor": "",
                        "user": "Meow",
                        "timestamp": "2006-01-20T17:19:39Z",
                        "comment": ""
                    }
                ],
                "ns": 10,
                "title": "\u6a21\u677f:Yes"
            },
            {
                "pageid": 11146,
                "revisions": [
                    {
                        "revid": 30405,
                        "parentid": 30404,
                        "user": "Meow",
                        "timestamp": "2006-01-20T17:20:10Z",
                        "comment": ""
                    }
                ],
                "ns": 10,
                "title": "\u6a21\u677f:No"
            },
            {
                "pageid": 29,
                "revisions": [
                    {
                        "revid": 30551,
                        "parentid": 30550,
                        "minor": "",
                        "user": "Sl",
                        "timestamp": "2006-04-23T14:39:56Z",
                        "comment": ""
                    },
                    {
                        "revid": 30552,
                        "parentid": 30551,
                        "minor": "",
                        "user": "Sl",
                        "timestamp": "2006-08-04T16:27:51Z",
                        "comment": ""
                    },
                    {
                        "revid": 30553,
                        "parentid": 30552,
                        "minor": "",
                        "user": "Sl",
                        "timestamp": "2006-08-07T12:30:11Z",
                        "comment": "+fi:"
                    },
                    {
                        "revid": 30555,
                        "parentid": 30554,
                        "minor": "",
                        "user": "Sl",
                        "timestamp": "2007-02-09T15:21:13Z",
                        "comment": ""
                    },
                    {
                        "revid": 30556,
                        "parentid": 30555,
                        "user": "Sl",
                        "timestamp": "2007-02-09T15:50:30Z",
                        "comment": "interwiki"
                    },
                    {
                        "revid": 30557,
                        "parentid": 30556,
                        "minor": "",
                        "user": "Sl",
                        "timestamp": "2007-02-21T16:32:01Z",
                        "comment": ""
                    }
                ],
                "ns": 10,
                "title": "\u6a21\u677f:Tl"
            },
            {
                "pageid": 164,
                "revisions": [
                    {
                        "revid": 30138,
                        "parentid": 30137,
                        "user": "129.35.204.162",
                        "anon": "",
                        "timestamp": "2006-08-04T06:00:30Z",
                        "comment": "interwikilinks"
                    },
                    {
                        "revid": 30139,
                        "parentid": 30138,
                        "user": "129.35.204.162",
                        "anon": "",
                        "timestamp": "2006-08-04T06:04:55Z",
                        "comment": "rm wrong interwikilink"
                    },
                    {
                        "revid": 30140,
                        "parentid": 30139,
                        "user": "129.35.204.162",
                        "anon": "",
                        "timestamp": "2006-08-04T07:32:31Z",
                        "comment": "one more interwikilink"
                    },
                    {
                        "revid": 30159,
                        "parentid": 30158,
                        "user": "Ran",
                        "timestamp": "2007-04-06T05:01:59Z",
                        "comment": ""
                    }
                ],
                "ns": 10,
                "title": "\u6a21\u677f:Main"
            },
            {
                "pageid": 11145,
                "revisions": [
                    {
                        "revid": 30362,
                        "parentid": 0,
                        "user": "66.235.0.183",
                        "anon": "",
                        "timestamp": "2007-08-02T11:46:06Z",
                        "comment": "\u589e\u52a0\u6216\u8abf\u6574\u8de8\u8a9e\u8a00\u93c8\u63a5"
                    }
                ],
                "ns": 10,
                "title": "\u6a21\u677f:Navigational templates"
            },
            {
                "pageid": 116,
                "revisions": [
                    {
                        "revid": 30033,
                        "parentid": 30032,
                        "user": "74.220.207.67",
                        "anon": "",
                        "timestamp": "2008-03-18T16:28:51Z",
                        "comment": ""
                    },
                    {
                        "revid": 30038,
                        "parentid": 30037,
                        "user": "Liangent",
                        "timestamp": "2010-07-13T11:33:16Z",
                        "comment": "Copied from [[:en:Template:Clear]]"
                    },
                    {
                        "revid": 30039,
                        "parentid": 30038,
                        "minor": "",
                        "user": "Liangent",
                        "timestamp": "2010-07-14T16:00:07Z",
                        "comment": "\u53d6\u6d88[[Special:Contributions/Liangent|Liangent]] ([[User talk:Liangent|\u5bf9\u8bdd]])\u7684\u7f16\u8f91\uff1b\u66f4\u6539\u56de[[Special:Contributions/Alexsh|Alexsh]]\u7684\u6700\u540e\u4e00\u4e2a\u7248\u672c"
                    }
                ],
                "ns": 10,
                "title": "\u6a21\u677f:Clear"
            },
            {
                "pageid": 161,
                "revisions": [
                    {
                        "revid": 30236,
                        "parentid": 30235,
                        "user": "221.119.206.16",
                        "anon": "",
                        "timestamp": "2008-08-23T02:30:52Z",
                        "comment": ""
                    },
                    {
                        "revid": 30237,
                        "parentid": 30236,
                        "user": "221.119.206.16",
                        "anon": "",
                        "timestamp": "2008-08-23T02:31:13Z",
                        "comment": ""
                    },
                    {
                        "revid": 30273,
                        "parentid": 30272,
                        "user": "Liangent",
                        "timestamp": "2012-01-22T03:16:27Z",
                        "comment": ""
                    },
                    {
                        "revid": 30274,
                        "parentid": 30273,
                        "user": "Liangent",
                        "timestamp": "2012-01-22T03:23:41Z",
                        "comment": ""
                    },
                    {
                        "revid": 30275,
                        "parentid": 30274,
                        "user": "Liangent",
                        "timestamp": "2012-02-16T05:35:12Z",
                        "comment": ""
                    }
                ],
                "ns": 10,
                "title": "\u6a21\u677f:Navbox/doc"
            },
            {
                "pageid": 127,
                "revisions": [
                    {
                        "revid": 30179,
                        "parentid": 30178,
                        "user": "Liangent",
                        "timestamp": "2009-05-10T04:40:41Z",
                        "comment": ""
                    },
                    {
                        "revid": 30180,
                        "parentid": 30179,
                        "user": "Liangent",
                        "timestamp": "2009-05-10T04:42:59Z",
                        "comment": ""
                    },
                    {
                        "revid": 30181,
                        "parentid": 30180,
                        "user": "Liangent",
                        "timestamp": "2009-05-10T04:45:59Z",
                        "comment": ""
                    },
                    {
                        "revid": 30182,
                        "parentid": 30181,
                        "user": "Liangent",
                        "timestamp": "2009-05-10T04:48:05Z",
                        "comment": ""
                    },
                    {
                        "revid": 30183,
                        "parentid": 30182,
                        "user": "Liangent",
                        "timestamp": "2009-05-10T04:53:56Z",
                        "comment": ""
                    },
                    {
                        "revid": 30184,
                        "parentid": 30183,
                        "user": "Liangent",
                        "timestamp": "2009-05-10T04:59:04Z",
                        "comment": ""
                    },
                    {
                        "revid": 30185,
                        "parentid": 30184,
                        "minor": "",
                        "user": "Liangent",
                        "timestamp": "2009-05-10T05:03:51Z",
                        "comment": "\u53d6\u6d88[[Special:Contributions/Liangent|Liangent]] ([[User talk:Liangent|\u5bf9\u8bdd]])\u7684\u7f16\u8f91\uff1b\u66f4\u6539\u56de[[Special:Contributions/Mikepanhu|Mikepanhu]]\u7684\u6700\u540e\u4e00\u4e2a\u7248\u672c"
                    },
                    {
                        "revid": 30186,
                        "parentid": 30185,
                        "user": "Liangent",
                        "timestamp": "2009-05-10T05:06:57Z",
                        "comment": ""
                    }
                ],
                "ns": 10,
                "title": "\u6a21\u677f:Mbox"
            },
            {
                "pageid": 11152,
                "revisions": [
                    {
                        "revid": 30592,
                        "parentid": 0,
                        "user": "Liangent",
                        "timestamp": "2009-08-24T14:15:02Z",
                        "comment": "Copied from [[:en:Template:Transclude]]"
                    }
                ],
                "ns": 10,
                "title": "\u6a21\u677f:Transclude"
            },
            {
                "pageid": 140,
                "revisions": [
                    {
                        "revid": 30197,
                        "parentid": 30196,
                        "user": "121.23.250.160",
                        "anon": "",
                        "timestamp": "2009-12-23T02:56:11Z",
                        "comment": "\u65b0\u6761\u76ee"
                    }
                ],
                "ns": 10,
                "title": "\u6a21\u677f:Namespace detect"
            },
            {
                "pageid": 15,
                "revisions": [
                    {
                        "revid": 30056,
                        "parentid": 30055,
                        "user": "Liangent",
                        "timestamp": "2010-07-13T11:33:12Z",
                        "comment": "Copied from [[:en:Template:Documentation]]"
                    },
                    {
                        "revid": 30057,
                        "parentid": 30056,
                        "minor": "",
                        "user": "Liangent",
                        "timestamp": "2010-07-14T15:44:14Z",
                        "comment": "\u53d6\u6d88[[Special:Contributions/Liangent|Liangent]] ([[User talk:Liangent|\u5bf9\u8bdd]])\u7684\u7f16\u8f91\uff1b\u66f4\u6539\u56de[[Special:Contributions/Cdip150|Cdip150]]\u7684\u6700\u540e\u4e00\u4e2a\u7248\u672c"
                    },
                    {
                        "revid": 30059,
                        "parentid": 30058,
                        "minor": "",
                        "user": "Liangent",
                        "timestamp": "2010-07-27T07:48:33Z",
                        "comment": "???"
                    },
                    {
                        "revid": 30060,
                        "parentid": 30059,
                        "user": "Liangent",
                        "timestamp": "2012-03-27T09:16:29Z",
                        "comment": "editprotected"
                    },
                    {
                        "revid": 30061,
                        "parentid": 30060,
                        "user": "Liangent",
                        "timestamp": "2012-03-27T09:17:45Z",
                        "comment": ""
                    }
                ],
                "ns": 10,
                "title": "\u6a21\u677f:Documentation"
            },
            {
                "pageid": 160,
                "revisions": [
                    {
                        "revid": 30008,
                        "parentid": 30007,
                        "user": "Liangent",
                        "timestamp": "2012-01-11T15:30:57Z",
                        "comment": ""
                    },
                    {
                        "revid": 30009,
                        "parentid": 30008,
                        "user": "Liangent",
                        "timestamp": "2012-01-21T11:10:12Z",
                        "comment": "\u4eceenwiki\u66f4\u65b0\u4e00\u6b21\u770b\u770b"
                    },
                    {
                        "revid": 30010,
                        "parentid": 30009,
                        "user": "Liangent",
                        "timestamp": "2012-01-21T11:14:47Z",
                        "comment": ""
                    },
                    {
                        "revid": 30012,
                        "parentid": 30011,
                        "minor": "",
                        "user": "Liangent",
                        "timestamp": "2012-01-21T11:50:33Z",
                        "comment": "\u53d6\u6d88[[Special:Contributions/Hat600|Hat600]] ([[User talk:Hat600|\u5bf9\u8bdd]])\u7684\u7f16\u8f91\uff1b\u66f4\u6539\u56de[[Special:Contributions/Liangent|Liangent]]\u7684\u6700\u540e\u4e00\u4e2a\u7248\u672c"
                    },
                    {
                        "revid": 30013,
                        "parentid": 30012,
                        "minor": "",
                        "user": "Liangent",
                        "timestamp": "2012-01-21T11:51:00Z",
                        "comment": "\u53d6\u6d88[[Special:Contributions/Liangent|Liangent]] ([[User talk:Liangent|\u5bf9\u8bdd]])\u7684\u7f16\u8f91\uff1b\u66f4\u6539\u56de[[Special:Contributions/Hat600|Hat600]]\u7684\u6700\u540e\u4e00\u4e2a\u7248\u672c"
                    },
                    {
                        "revid": 30014,
                        "parentid": 30013,
                        "user": "Liangent",
                        "timestamp": "2012-01-21T11:53:24Z",
                        "comment": "[[WP:UNDO|\u53d6\u6d88]]\u7531[[Special:Contributions/Liangent|Liangent]] ([[User talk:Liangent|\u5bf9\u8bdd]])\u6240\u4f5c\u51fa\u7684\u4fee\u8ba2 19001222"
                    },
                    {
                        "revid": 30015,
                        "parentid": 30014,
                        "minor": "",
                        "user": "Liangent",
                        "timestamp": "2012-01-21T11:55:23Z",
                        "comment": "\u53d6\u6d88[[Special:Contributions/Liangent|Liangent]] ([[User talk:Liangent|\u5bf9\u8bdd]])\u7684\u7f16\u8f91\uff1b\u66f4\u6539\u56de[[Special:Contributions/Hat600|Hat600]]\u7684\u6700\u540e\u4e00\u4e2a\u7248\u672c"
                    },
                    {
                        "revid": 30016,
                        "parentid": 30015,
                        "user": "Liangent",
                        "timestamp": "2012-01-21T12:01:59Z",
                        "comment": ""
                    },
                    {
                        "revid": 30017,
                        "parentid": 30016,
                        "user": "Liangent",
                        "timestamp": "2012-01-22T02:56:18Z",
                        "comment": ""
                    },
                    {
                        "revid": 30018,
                        "parentid": 30017,
                        "user": "Liangent",
                        "timestamp": "2012-01-22T02:56:55Z",
                        "comment": ""
                    },
                    {
                        "revid": 30019,
                        "parentid": 30018,
                        "user": "Liangent",
                        "timestamp": "2012-01-22T03:03:22Z",
                        "comment": ""
                    },
                    {
                        "revid": 30020,
                        "parentid": 30019,
                        "user": "Liangent",
                        "timestamp": "2012-01-22T03:22:25Z",
                        "comment": ""
                    },
                    {
                        "revid": 30021,
                        "parentid": 30020,
                        "user": "Liangent",
                        "timestamp": "2012-02-16T05:34:58Z",
                        "comment": "8em\u8bd5\u8bd5\u770b"
                    }
                ],
                "ns": 10,
                "title": "\u6a21\u677f:Navbox"
            },
            {
                "pageid": 148,
                "revisions": [
                    {
                        "revid": 30216,
                        "parentid": 30215,
                        "user": "Liangent",
                        "timestamp": "2012-01-21T11:17:55Z",
                        "comment": ""
                    }
                ],
                "ns": 10,
                "title": "\u6a21\u677f:Navbar"
            }
        ]
    }
}