MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20260522185456|13",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 23,
                "ns": 0,
                "title": "\u9996\u9875/\u533b\u5b66\u90e8",
                "pageid": 17,
                "logpage": 17,
                "revid": 18,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "\u76d0\u9178\u567b\u6d1b\u5511\u5549",
                "timestamp": "2026-07-07T14:48:14Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c==\u533b\u5b66\u90e8==\u201d"
            },
            {
                "logid": 22,
                "ns": 0,
                "title": "\u9996\u9875/\u6821\u56ed\u4e00\u89c8",
                "pageid": 16,
                "logpage": 16,
                "revid": 17,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "\u76d0\u9178\u567b\u6d1b\u5511\u5549",
                "timestamp": "2026-07-07T14:47:47Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c==\u6821\u56ed\u4e00\u89c8==\u201d"
            },
            {
                "logid": 21,
                "ns": 0,
                "title": "\u7d22\u5f15/\u533b\u5b66\u90e8",
                "pageid": 15,
                "logpage": 15,
                "revid": 15,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "\u76d0\u9178\u567b\u6d1b\u5511\u5549",
                "timestamp": "2026-07-07T14:46:24Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c==\u533b\u5b66\u90e8==\u201d"
            },
            {
                "logid": 20,
                "ns": 0,
                "title": "\u533b\u5b66\u90e8",
                "pageid": 14,
                "logpage": 14,
                "revid": 14,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "\u76d0\u9178\u567b\u6d1b\u5511\u5549",
                "timestamp": "2026-07-07T05:33:59Z",
                "comment": "\u6d4b\u8bd5\u4e00\u4e0b"
            },
            {
                "logid": 19,
                "ns": 2,
                "title": "\u7528\u6237:24\u5f71\u50cf\u7483\u8309",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "oldgroups": [],
                    "newgroups": [
                        "bureaucrat",
                        "interface-admin",
                        "sysop"
                    ],
                    "oldmetadata": [],
                    "newmetadata": [
                        {
                            "group": "bureaucrat",
                            "expiry": "infinity"
                        },
                        {
                            "group": "interface-admin",
                            "expiry": "infinity"
                        },
                        {
                            "group": "sysop",
                            "expiry": "infinity"
                        }
                    ]
                },
                "type": "rights",
                "action": "rights",
                "user": "F00001111",
                "timestamp": "2026-05-23T15:15:40Z",
                "comment": ""
            },
            {
                "logid": 18,
                "ns": 2,
                "title": "\u7528\u6237:24\u5f71\u50cf\u7483\u8309",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 7
                },
                "type": "newusers",
                "action": "create2",
                "user": "F00001111",
                "timestamp": "2026-05-23T15:14:44Z",
                "comment": ""
            },
            {
                "logid": 17,
                "ns": 102,
                "title": "\u5c5e\u6027:Owl:differentFrom",
                "pageid": 13,
                "logpage": 13,
                "revid": 13,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Maintenance script",
                "timestamp": "2026-05-22T18:54:57Z",
                "comment": "Semantic MediaWiki default vocabulary import"
            },
            {
                "logid": 16,
                "ns": 102,
                "title": "\u5c5e\u6027:Foaf:homepage",
                "pageid": 12,
                "logpage": 12,
                "revid": 12,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Maintenance script",
                "timestamp": "2026-05-22T18:54:57Z",
                "comment": "Semantic MediaWiki default vocabulary import"
            },
            {
                "logid": 15,
                "ns": 102,
                "title": "\u5c5e\u6027:Foaf:name",
                "pageid": 11,
                "logpage": 11,
                "revid": 11,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Maintenance script",
                "timestamp": "2026-05-22T18:54:57Z",
                "comment": "Semantic MediaWiki default vocabulary import"
            },
            {
                "logid": 14,
                "ns": 102,
                "title": "\u5c5e\u6027:Foaf:knows",
                "pageid": 10,
                "logpage": 10,
                "revid": 10,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Maintenance script",
                "timestamp": "2026-05-22T18:54:56Z",
                "comment": "Semantic MediaWiki default vocabulary import"
            }
        ]
    }
}