MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20260523131535|98",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 108,
                "ns": 2,
                "title": "\u7528\u6237:IMAOP",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 7
                },
                "type": "newusers",
                "action": "create",
                "user": "IMAOP",
                "timestamp": "2026-06-08T16:06:59Z",
                "comment": ""
            },
            {
                "logid": 107,
                "ns": 0,
                "title": "Common.js",
                "pageid": 59,
                "logpage": 59,
                "revid": 177,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Pzwboy",
                "timestamp": "2026-06-08T04:42:10Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c  fetch('https://xytxyiyan.zeabur.app')     .then(response => response.json())     .then(data => {       const hitokoto = document.querySelector('#hitokoto_text')       hitokoto.innerText = \"\u300e\" + data.hitokoto + \"\u300f\";       const from = document.querySelector('#hitokoto_from')       const fromWho = data.from_who ?? '';       const separator = fromWho ? \" \" : \"\";       from.innerText = fromWho          ? `\u2014\u2014 ${fromWho}\u300c${data.from}\u300d`         : `\u2014\u2014\u2026\u201d"
            },
            {
                "logid": 106,
                "ns": 0,
                "title": "\u73a9\u5bb6\u8bc4\u4ef7/\u968f\u673a",
                "pageid": 58,
                "logpage": 58,
                "revid": 175,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Botshark",
                "timestamp": "2026-06-08T04:18:09Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<div id=\"random-review-display\" style=\"padding: 10px 0; text-align: center; color: #ccccdd;\">   <p>\u6b63\u5728\u52a0\u8f7d\u8bc4\u4ef7...</p> </div>  <script> (function() {   var display = document.getElementById('random-review-display');   if (!display) return;    // \u4ece\u4f60\u670b\u53cb\u7684\u4e00\u8a00 API \u83b7\u53d6\u968f\u673a\u8bc4\u4ef7   fetch('https://xytxyiyan.zeabur.app/')     .then(function(response) {       return response.text();     })     .then(function(text) {       display.innerHTML = text;\u2026\u201d"
            },
            {
                "logid": 105,
                "ns": 0,
                "title": "\u73a9\u5bb6\u8bc4\u4ef7/\u968f\u673a",
                "pageid": 58,
                "logpage": 56,
                "params": {},
                "type": "delete",
                "action": "delete",
                "user": "Botshark",
                "timestamp": "2026-06-08T03:54:06Z",
                "comment": "\u53d7\u635f\u91cd\u5b9a\u5411\uff1a\u200b\u5185\u5bb9\u4e3a\uff1a\u201c<choose> @ <div style=\"padding: 10px 0;\">\u201c\u5357\u5ef7\u7684\u8857\u5934\u5df7\u5c3e\uff0c\u6bcf\u4e00\u5904\u90fd\u85cf\u7740\u6545\u4e8b\u3002\u611f\u8c22\u70db\u85aa\u7f51\u7edc\u5e26\u6765\u8fd9\u6bb5\u96be\u5fd8\u7684\u65c5\u7a0b\u3002\u201d</div> <div style=\"text-align: right; color: #FF5F00; font-size: 0.85em;\">\u2014\u2014 \u7ec4\u957f \u00b7 \u533f\u540d</div>  @ <div style=\"padding: 10px 0;\">\u201c\u4ece\u5357\u5ef7\u5230\u96c5\u5357\uff0c\u4e00\u8def\u8d70\u6765\uff0c\u65b0\u6708\u540c\u884c\u4e0d\u4ec5\u662f\u6e38\u620f\uff0c\u66f4\u662f\u4e00\u6bb5\u503c\u5f97\u94ed\u2026\u201d\uff0c\u552f\u4e00\u8d21\u732e\u8005\u662f\u201c[[Special:Contributions/Botshark|Botshark]]\u201d\uff08[[User talk:Botshark|\u8ba8\u8bba]]\uff09"
            },
            {
                "logid": 104,
                "ns": 0,
                "title": "\u73a9\u5bb6\u8bc4\u4ef7",
                "pageid": 57,
                "logpage": 57,
                "revid": 174,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Botshark",
                "timestamp": "2026-06-07T14:54:47Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<!-- \u73a9\u5bb6\u8bc4\u4ef7\u6c47\u603b\u5927\u6846 --> <div style=\"width: 100%; background: #1a1a1a; border-radius: 10px; border: 1px solid #FF5F00; margin-bottom: 20px; box-shadow: 0 2px 10px rgba(255, 95, 0, 0.2); overflow: hidden;\"> <div style=\"background: linear-gradient(135deg, #FF5F00, #cc4d00); padding: 14px 20px; font-size: 1.3em; font-weight: bold; color: #ffffff; border-bottom: 2px solid #ff8033;\">\u73a9\u5bb6\u8bc4\u4ef7</div> <div style=\"padding: 20px; color: #ccccdd; line-height:\u2026\u201d"
            },
            {
                "logid": 103,
                "ns": 0,
                "title": "\u73a9\u5bb6\u8bc4\u4ef7/\u968f\u673a",
                "pageid": 58,
                "logpage": 56,
                "revid": 173,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Botshark",
                "timestamp": "2026-06-07T14:53:50Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<choose> @ <div style=\"padding: 10px 0;\">\u201c\u5357\u5ef7\u7684\u8857\u5934\u5df7\u5c3e\uff0c\u6bcf\u4e00\u5904\u90fd\u85cf\u7740\u6545\u4e8b\u3002\u611f\u8c22\u70db\u85aa\u7f51\u7edc\u5e26\u6765\u8fd9\u6bb5\u96be\u5fd8\u7684\u65c5\u7a0b\u3002\u201d</div> <div style=\"text-align: right; color: #FF5F00; font-size: 0.85em;\">\u2014\u2014 \u7ec4\u957f \u00b7 \u533f\u540d</div>  @ <div style=\"padding: 10px 0;\">\u201c\u4ece\u5357\u5ef7\u5230\u96c5\u5357\uff0c\u4e00\u8def\u8d70\u6765\uff0c\u65b0\u6708\u540c\u884c\u4e0d\u4ec5\u662f\u6e38\u620f\uff0c\u66f4\u662f\u4e00\u6bb5\u503c\u5f97\u94ed\u8bb0\u7684\u8bb0\u5fc6\u3002\u201d</div> <div style=\"text-align: right; color: #FF5F00; font-size: 0.85em;\">\u2026\u201d"
            },
            {
                "logid": 102,
                "ns": 0,
                "title": "\u6743\u9650\u5bc6\u94a5",
                "pageid": 55,
                "logpage": 55,
                "revid": 156,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Botshark",
                "timestamp": "2026-05-31T01:50:23Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c111111\u201d"
            },
            {
                "logid": 101,
                "ns": 0,
                "title": "\u8c03\u67e5\u65e5\u5fd7",
                "pageid": 54,
                "logpage": 54,
                "revid": 155,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Botshark",
                "timestamp": "2026-05-31T01:49:43Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c11111\u201d"
            },
            {
                "logid": 100,
                "ns": 0,
                "title": "\u6210\u5c31",
                "pageid": 53,
                "logpage": 53,
                "revid": 147,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Botshark",
                "timestamp": "2026-05-30T10:10:52Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c11\u201d"
            },
            {
                "logid": 99,
                "ns": 0,
                "title": "\u5f02\u8c61\u672d\u8bb0",
                "pageid": 52,
                "logpage": 52,
                "revid": 146,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Botshark",
                "timestamp": "2026-05-30T10:10:44Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c11\u201d"
            }
        ]
    }
}