MediaWiki API 结果
这是JSON格式的HTML实现。HTML对调试很有用,但不适合应用程序使用。
指定format参数以更改输出格式。要查看JSON格式的非HTML实现,设置format=json。
{
"batchcomplete": "",
"continue": {
"lecontinue": "20250413032315|70",
"continue": "-||"
},
"query": {
"logevents": [
{
"logid": 80,
"ns": 828,
"title": "Module:Topbar/ombox.css",
"pageid": 55,
"logpage": 55,
"revid": 95,
"params": {},
"type": "create",
"action": "create",
"user": "Imxiaoanag",
"timestamp": "2025-04-13T04:05:10Z",
"comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c/* {{pp|small=y}} */ .ombox { \tmargin: 4px 0; \tborder-collapse: collapse; \tborder: 1px solid #a2a9b1; /* Default \"notice\" gray */ \tbackground-color: #f8f9fa; \tbox-sizing: border-box; } /* For the \"small=yes\" option. */ .ombox.mbox-small { \tfont-size: 88%; \tline-height: 1.25em; } .ombox-speedy { \tborder: 2px solid #b32424; /* Red */ \tbackground-color: #fee7e6; /* Pink */ } .ombox-delete { \tborder: 2px solid #b32424; /* Red */ } .ombox-content {\u2026\u201d"
},
{
"logid": 79,
"ns": 10,
"title": "Template:\u4fb5\u6743\u901a\u544a",
"pageid": 54,
"logpage": 54,
"revid": 94,
"params": {},
"type": "create",
"action": "create",
"user": "Imxiaoanag",
"timestamp": "2025-04-13T04:00:48Z",
"comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c{{#invoke:Topbar|main|text=\u672c\u9875\u9762\u6d89\u5acc\u4fb5\u6743\uff0c\u6682\u505c\u7f16\u8f91\u3002}} <includeonly>[[\u5206\u7c7b:\u5e26\u6709\u9876\u90e8\u4fe1\u606f\u6846\u7684\u9875\u9762]]</includeonly>\u201d"
},
{
"logid": 78,
"ns": 828,
"title": "Module:Topbar",
"pageid": 53,
"logpage": 53,
"revid": 93,
"params": {},
"type": "create",
"action": "create",
"user": "Imxiaoanag",
"timestamp": "2025-04-13T03:56:00Z",
"comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201clocal p = {} function p.main(frame) \tlocal box = mw.html.create() \t:tag('table') \t:css('margin', '0 10%') \t:addClass('mw-parser-output') \t:addClass('mbox') \tlocal row = box:tag('tr') \tlocal imageLeftCell = row:tag('td'):addClass('mbox-image'):css('padding', '2px 0 2px 0.5em') \timageLeftCell:tag('div'):css('width', '52px'):wikitext(frame.args.image or '[[File:Deutsche Bahn AG Logo.png|52px|link=|alt=]]') \tlocal textCell = row:tag('td'):addClass('mbox-text'):css(\u2026\u201d"
},
{
"logid": 77,
"ns": 828,
"title": "Module:SafeCate",
"pageid": 0,
"logpage": 50,
"params": {},
"type": "delete",
"action": "delete",
"user": "Imxiaoanag",
"timestamp": "2025-04-13T03:55:16Z",
"comment": "\u5185\u5bb9\u4e3a\uff1a\u201clocal module = {} local function _isvalid(value) \treturn value ~= nil and type(value) == \"string\" and mw.text.trim(value) ~= \"\" end function module.main(frame) \tlocal strict = frame \tlocal parent = frame:getParent() \tif not _isvalid(frame.args[1]) then \t\tif not (parent and _isvalid(parent.args[1])) then return end \t\tlocal title = parent:getTitle() \t\tif title == \"T\u2026\u201d\uff0c\u552f\u4e00\u8d21\u732e\u8005\u662f\u201c[[Special:Contributions/Imxiaoanag|Imxiaoanag]]\u201d\uff08[[User talk:Imxiaoanag|\u8ba8\u8bba]]\uff09"
},
{
"logid": 76,
"ns": 10,
"title": "Template:Cate",
"pageid": 0,
"logpage": 51,
"params": {},
"type": "delete",
"action": "delete",
"user": "Imxiaoanag",
"timestamp": "2025-04-13T03:54:43Z",
"comment": "\u5185\u5bb9\u4e3a\uff1a\u201c<includeonly>{{#invoke:SafeCate|main|strict=1|nsid=10|noSubpage={{{noSubpage|}}}}}</includeonly><noinclude> {{doc}}</noinclude>\u201d\uff0c\u552f\u4e00\u8d21\u732e\u8005\u662f\u201c[[Special:Contributions/Imxiaoanag|Imxiaoanag]]\u201d\uff08[[User talk:Imxiaoanag|\u8ba8\u8bba]]\uff09"
},
{
"logid": 75,
"ns": 10,
"title": "Template:\u9876\u90e8\u4fe1\u606f\u6846",
"pageid": 0,
"logpage": 52,
"params": {},
"type": "delete",
"action": "delete",
"user": "Imxiaoanag",
"timestamp": "2025-04-13T03:54:32Z",
"comment": "\u5185\u5bb9\u4e3a\uff1a\u201c<includeonly><div class=\"infoBox {{{class|}}}\" style=\"{{#ifeq:{{{type|}}}|middle|display:flow-root;}}{{#switch:{{{type|none}}}|middle|none={{#if:{{{width|}}}|width:{{{width}}};}}}}max-width:100%;border-left: 10px solid {{{color|#1e90ff}}};\"><div class=\"infoBoxContent\" {{#if:{{{backgroundColor|}}}|style=\"border-color:{{{backgroundColor}}};background-color:{{{backgrou\u2026\u201d\uff0c\u552f\u4e00\u8d21\u732e\u8005\u662f\u201c[[Special:Contributions/Imxiaoanag|Imxiaoanag]]\u201d\uff08[[User talk:Imxiaoanag|\u8ba8\u8bba]]\uff09"
},
{
"logid": 74,
"ns": 10,
"title": "Template:\u9876\u90e8\u4fe1\u606f\u6846",
"pageid": 0,
"logpage": 52,
"revid": 92,
"params": {},
"type": "create",
"action": "create",
"user": "Imxiaoanag",
"timestamp": "2025-04-13T03:27:29Z",
"comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<includeonly><div class=\"infoBox {{{class|}}}\" style=\"{{#ifeq:{{{type|}}}|middle|display:flow-root;}}{{#switch:{{{type|none}}}|middle|none={{#if:{{{width|}}}|width:{{{width}}};}}}}max-width:100%;border-left: 10px solid {{{color|#1e90ff}}};\"><div class=\"infoBoxContent\" {{#if:{{{backgroundColor|}}}|style=\"border-color:{{{backgroundColor}}};background-color:{{{backgroundColor}}};\"}}> {{#if:{{{title|}}}|<div class=\"infoBoxTitle\" style=\"{{{title-style|}}}\">{{{title}\u2026\u201d"
},
{
"logid": 73,
"ns": 10,
"title": "Template:Cate",
"pageid": 0,
"logpage": 51,
"revid": 91,
"params": {},
"type": "create",
"action": "create",
"user": "Imxiaoanag",
"timestamp": "2025-04-13T03:26:38Z",
"comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<includeonly>{{#invoke:SafeCate|main|strict=1|nsid=10|noSubpage={{{noSubpage|}}}}}</includeonly><noinclude> {{doc}}</noinclude>\u201d"
},
{
"logid": 72,
"ns": 828,
"title": "Module:SafeCate",
"pageid": 0,
"logpage": 50,
"revid": 90,
"params": {},
"type": "create",
"action": "create",
"user": "Imxiaoanag",
"timestamp": "2025-04-13T03:25:12Z",
"comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201clocal module = {} local function _isvalid(value) \treturn value ~= nil and type(value) == \"string\" and mw.text.trim(value) ~= \"\" end function module.main(frame) \tlocal strict = frame \tlocal parent = frame:getParent() \tif not _isvalid(frame.args[1]) then \t\tif not (parent and _isvalid(parent.args[1])) then return end \t\tlocal title = parent:getTitle() \t\tif title == \"Template:SafeCate\" then \t\t\tstrict, frame = parent, parent \t\telseif mw.title.new(title).namespace =\u2026\u201d"
},
{
"logid": 71,
"ns": 10,
"title": "Template:\u9876\u90e8\u4fe1\u606f\u6846.css",
"pageid": 0,
"logpage": 45,
"params": {},
"type": "delete",
"action": "delete",
"user": "Imxiaoanag",
"timestamp": "2025-04-13T03:23:31Z",
"comment": "\u5185\u5bb9\u4e3a\uff1a\u201c/* {{pp|small=y}} */ .ambox { \tborder: 1px solid #a2a9b1; \t/* @noflip */ \tborder-left: 10px solid #36c; /* Default \"notice\" blue */ \tbackground-color: #fbfbfb; \tbox-sizing: border-box; } /* Single border between stacked boxes. Take into account base templatestyles, * user styles, and Template:Dated maintenance category. * remove link selector when T200206 is fix\u2026\u201d\uff0c\u552f\u4e00\u8d21\u732e\u8005\u662f\u201c[[Special:Contributions/Imxiaoanag|Imxiaoanag]]\u201d\uff08[[User talk:Imxiaoanag|\u8ba8\u8bba]]\uff09"
}
]
}
}