MediaWiki API 结果
这是JSON格式的HTML实现。HTML对调试很有用,但不适合应用程序使用。
指定format参数以更改输出格式。要查看JSON格式的非HTML实现,设置format=json。
{
"batchcomplete": "",
"continue": {
"lecontinue": "20260302114441|5",
"continue": "-||"
},
"query": {
"logevents": [
{
"logid": 15,
"ns": 828,
"title": "\u6a21\u5757:Test",
"pageid": 10,
"logpage": 10,
"revid": 65,
"params": {},
"type": "create",
"action": "create",
"user": "Rin",
"timestamp": "2026-03-02T14:45:08Z",
"comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201clocal p = {} -- \u6700\u7b80\u5355\u7684\u5168\u5c4f\u5361\u9762\u6a21\u5757 function p.main(frame) -- \u521b\u5efa\u5916\u5c42\u5bb9\u5668 local html = mw.html.create('div') :addClass('card-fullscreen-wrapper') :css('position', 'relative') :css('width', '100%') :css('height', '100vh') -- \u5168\u5c4f\u9ad8\u5ea6 :css('overflow', 'hidden') -- \u5361\u9762\u56fe\u7247 html:tag('div') :addClass('card-fullscreen-img') :css('background-image', 'url([[File:test.p\u2026\u201d"
},
{
"logid": 14,
"ns": 0,
"title": "Php",
"pageid": 0,
"logpage": 9,
"params": {},
"type": "delete",
"action": "delete",
"user": "Rin",
"timestamp": "2026-03-02T14:28:43Z",
"comment": "\u5185\u5bb9\u4e3a\uff1a\u201c<?php phpinfo(); ?>\u201d\uff0c\u552f\u4e00\u8d21\u732e\u8005\u662f\u201c[[Special:Contributions/Rin|Rin]]\u201d\uff08[[User talk:Rin|\u8ba8\u8bba]]\uff09"
},
{
"logid": 13,
"ns": 0,
"title": "Php",
"pageid": 0,
"logpage": 9,
"revid": 64,
"params": {},
"type": "create",
"action": "create",
"user": "Rin",
"timestamp": "2026-03-02T14:23:35Z",
"comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<?php phpinfo(); ?>\u201d"
},
{
"logid": 12,
"ns": 10,
"title": "\u6a21\u677f:FullscreenCard/styles.css",
"pageid": 8,
"logpage": 8,
"revid": 58,
"params": {},
"type": "create",
"action": "create",
"user": "Rin",
"timestamp": "2026-03-02T12:52:52Z",
"comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c.fullscreen_card { position: fixed; inset: 0; z-index: -1; } .fullscreen_card img { width: 100vw; height: 100vh; object-fit: cover; }\u201d"
},
{
"logid": 11,
"ns": 10,
"title": "\u6a21\u677f:Test/character",
"pageid": 7,
"logpage": 7,
"revid": 53,
"params": {},
"type": "create",
"action": "create",
"user": "Rin",
"timestamp": "2026-03-02T12:39:57Z",
"comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<templatestyles> .example-box { border: 2px solid #888; padding: 8px; background: #fff4f4; color: #202020; } </templatestyles> <div class=\"example-box\"> \u8fd9\u662f\u5e26\u6709\u6837\u5f0f\u7684\u793a\u4f8b\u6a21\u677f\u3002 </div>\u201d"
},
{
"logid": 10,
"ns": 0,
"title": "Sandbox",
"pageid": 6,
"logpage": 6,
"revid": 49,
"params": {},
"type": "create",
"action": "create",
"user": "Rin",
"timestamp": "2026-03-02T12:35:16Z",
"comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c__NOTITLE__ <img src=\"https://ron.saltedkiss.org/images/a/a9/Test%E5%8D%A1%E9%9D%A2.jpg\">\u201d"
},
{
"logid": 9,
"ns": 6,
"title": "\u6587\u4ef6:Test\u5361\u9762.jpg",
"pageid": 5,
"logpage": 5,
"revid": 48,
"params": {},
"type": "create",
"action": "create",
"user": "Rin",
"timestamp": "2026-03-02T12:34:08Z",
"comment": ""
},
{
"logid": 8,
"ns": 6,
"title": "\u6587\u4ef6:Test\u5361\u9762.jpg",
"pageid": 5,
"logpage": 5,
"revid": 48,
"params": {
"img_sha1": "qimetqce9xnkra0towf3nv4alambowc",
"img_timestamp": "2026-03-02T12:34:08Z"
},
"type": "upload",
"action": "upload",
"user": "Rin",
"timestamp": "2026-03-02T12:34:08Z",
"comment": ""
},
{
"logid": 7,
"ns": 6,
"title": "\u6587\u4ef6:Banner.jpg",
"pageid": 3,
"logpage": 3,
"revid": 43,
"params": {
"img_sha1": "b2lz6tbuzofxwl247vxv9542uzpoagz",
"img_timestamp": "2026-03-02T12:17:11Z"
},
"type": "upload",
"action": "overwrite",
"user": "Rin",
"timestamp": "2026-03-02T12:17:11Z",
"comment": ""
},
{
"logid": 6,
"ns": 6,
"title": "\u6587\u4ef6:Background.jpg",
"pageid": 4,
"logpage": 4,
"revid": 13,
"params": {},
"type": "create",
"action": "create",
"user": "Rin",
"timestamp": "2026-03-02T11:44:41Z",
"comment": ""
}
]
}
}