MediaWiki API 結果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20240717144853|2",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 12,
                "ns": 2,
                "title": "\u4f7f\u7528\u8005:Vtyyhqsism",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 5
                },
                "type": "newusers",
                "action": "create",
                "user": "Vtyyhqsism",
                "timestamp": "2026-07-09T01:25:02Z",
                "comment": ""
            },
            {
                "logid": 11,
                "ns": 0,
                "title": "\u91d1\u9db4\u734e\u7c3d\u540d\u677f\u88c1\u526a\u4e8b\u4ef6",
                "pageid": 10,
                "logpage": 10,
                "revid": 26,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Octopis",
                "timestamp": "2024-11-26T10:03:06Z",
                "comment": "\u5efa\u7acb"
            },
            {
                "logid": 10,
                "ns": 10,
                "title": "\u6a21\u677f:Infobox person",
                "pageid": 9,
                "logpage": 9,
                "revid": 14,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Octopis",
                "timestamp": "2024-11-05T10:17:20Z",
                "comment": "\u5efa\u7acb\u5167\u5bb9\u70ba\u300c<includeonly> {| class=\"infobox\" style=\"width: 22em; font-size: 90%; background-color: #f9f9f9; border: 1px solid #aaa; padding: 5px;\" |+ '''{{{name|}}}''' |- | {{#if: {{{image|}}} | [[File:{{{image}}}|200px|alt={{{name|}}}]] }} |- | {{#if: {{{nick_name|}}} | '''\u66b1\u7a31''' || {{{nick_name}}} }} |- | {{#if: {{{birth_date|}}} | '''\u751f\u65e5''' || {{{birth_date}}} }} |- | {{#if: {{{birth_place|}}} | '''\u51fa\u751f\u5730''' || {{{birth_place}}} }} |- | {{#if: {{{nationality\u2026\u300d\u7684\u65b0\u9801\u9762"
            },
            {
                "logid": 9,
                "ns": 8,
                "title": "MediaWiki:Common.css",
                "pageid": 8,
                "logpage": 8,
                "revid": 13,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Octopis",
                "timestamp": "2024-11-05T10:02:34Z",
                "comment": "\u5efa\u7acb\u5167\u5bb9\u70ba\u300c/* \u6b64 CSS \u6703\u5957\u7528\u81f3\u6240\u6709\u7684\u4ecb\u9762\u5916\u89c0 */ .infobox {     background-color: #f9f9f9;     border: 1px solid #aaa;     padding: 5px;     width: 200px; } .infobox th, .infobox td {     padding: 4px; }\u300d\u7684\u65b0\u9801\u9762"
            },
            {
                "logid": 8,
                "ns": 10,
                "title": "\u6a21\u677f:Infobox",
                "pageid": 7,
                "logpage": 7,
                "revid": 12,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Octopis",
                "timestamp": "2024-11-05T10:01:49Z",
                "comment": "\u5efa\u7acb\u5167\u5bb9\u70ba\u300c<includeonly> {| class=\"infobox\" style=\"width: 22em; font-size: 90%;\" |+ '''{{{title|}}}''' |- | '''Field 1''' | {{{field1|}}} |- | '''Field 2''' | {{{field2|}}} |} </includeonly>\u300d\u7684\u65b0\u9801\u9762"
            },
            {
                "logid": 7,
                "ns": 0,
                "title": "\u81ea\u6c42\u591a\u798f",
                "pageid": 6,
                "logpage": 6,
                "revid": 10,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Octopis",
                "timestamp": "2024-11-05T03:10:30Z",
                "comment": "\u5efa\u7acb\u9801\u9762"
            },
            {
                "logid": 6,
                "ns": 0,
                "title": "\u5b8b\u53c8\u7166",
                "pageid": 5,
                "logpage": 5,
                "revid": 7,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Octopis",
                "timestamp": "2024-11-04T14:06:42Z",
                "comment": "\u5efa\u7acb\u9801\u9762\u8207\u67b6\u69cb"
            },
            {
                "logid": 5,
                "ns": 0,
                "title": "\u5289\u5b63\u8018",
                "pageid": 4,
                "logpage": 4,
                "revid": 6,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Octopis",
                "timestamp": "2024-11-04T12:18:26Z",
                "comment": "\u5efa\u7acb\u9801\u9762"
            },
            {
                "logid": 4,
                "ns": 2,
                "title": "\u4f7f\u7528\u8005:\u96de",
                "pageid": 3,
                "logpage": 3,
                "revid": 3,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "\u96de",
                "timestamp": "2024-07-17T14:54:29Z",
                "comment": "\u5efa\u7acb\u5167\u5bb9\u70ba\u300c:))))\u300d\u7684\u65b0\u9801\u9762"
            },
            {
                "logid": 3,
                "ns": 2,
                "title": "\u4f7f\u7528\u8005:\u96de",
                "pageid": 3,
                "logpage": 0,
                "params": {
                    "userid": 3
                },
                "type": "newusers",
                "action": "create",
                "user": "\u96de",
                "timestamp": "2024-07-17T14:52:07Z",
                "comment": ""
            }
        ]
    }
}