MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20241230062350|114",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 130,
                "ns": 10,
                "title": "Template:\u9ed1\u5e55",
                "pageid": 128,
                "logpage": 128,
                "revid": 245,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Scio",
                "timestamp": "2024-12-30T07:39:13Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c{{\u9ed1\u5e55CSS}}<span class=\"spoiler\"><includeonly>{{{1}}}</includeonly><noinclude>\u6d4b\u8bd5\u6548\u679c [[\u5efa\u7ad9/WIKI\u529f\u80fd]] [https://scio.icu \u7cfb\u5217\u7ad9\u70b9]</noinclude></span>\u201d"
            },
            {
                "logid": 129,
                "ns": 10,
                "title": "Template:Image-size",
                "pageid": 127,
                "logpage": 127,
                "revid": 244,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Scio",
                "timestamp": "2024-12-30T07:37:46Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<div class=\"externalimage-holder\" style=\"width:{{{1}}}\">{{{2}}}</div>\u201d"
            },
            {
                "logid": 128,
                "ns": 10,
                "title": "Template:YouTube",
                "pageid": 126,
                "logpage": 126,
                "revid": 243,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Scio",
                "timestamp": "2024-12-30T07:37:40Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<includeonly>{{#if:{{{id|{{{1|}}}}}}|{{#widget:YouTube|id={{{id|{{{1|}}}}}}|width={{{width|625}}}|height={{{height|350}}}}}|{{#if:{{{playlist|}}}|{{#widget:YouTube|playlist={{{playlist|}}}|width={{{width|625}}}|height={{{height|350}}}}}|}}}}</includeonly>\u201d"
            },
            {
                "logid": 127,
                "ns": 274,
                "title": "Widget:YouTube",
                "pageid": 125,
                "logpage": 125,
                "revid": 242,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Scio",
                "timestamp": "2024-12-30T07:36:59Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<includeonly><iframe width=\"<!--{$width|escape:'html'|validate:int|default:'425'}-->\" height=\"<!--{$height|escape:'html'|validate:int|default:355}-->\" src=\"https://www.youtube.com/embed/<!--{if isset($playlist)}-->?listType=playlist&list=<!--{$playlist|escape:'urlpathinfo'}--><!--{else}--><!--{$id|escape:'urlpathinfo'}--><!--{/if}-->\" frameborder=\"0\" allowfullscreen></iframe></includeonly>\u201d"
            },
            {
                "logid": 120,
                "ns": 8,
                "title": "MediaWiki:Sidebar",
                "pageid": 116,
                "logpage": 116,
                "revid": 227,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Scio",
                "timestamp": "2024-12-30T07:15:12Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c * navigation ** mainpage|mainpage-description ** recentchanges-url|recentchanges  * \u7ad9\u70b9\u4fe1\u606f ** Wired\u5efa\u8bbe\u65e5\u5fd7\uff082025\uff09|\u66f4\u65b0\u65e5\u5fd7 ** Wired\u4e16\u754c\u5f00\u53d1\u8fdb\u5ea6|\u6240\u6709\u5185\u5bb9  * \u4e09\u90e8\u66f2 ** \u4e92\u8054\u7f51|\u4e92\u8054\u7f51 ** \u63d0\u95ee\u7684\u827a\u672f|\u63d0\u95ee\u7684\u827a\u672f ** \u7b56\u7565\u4e0e\u540d\u8bcd\u76ee\u5f55|\u7b56\u7565\u4e0e\u540d\u8bcd\u76ee\u5f55  * \u5efa\u7ad9 ** \u5efa\u7ad9/LAMP|LAMP ** \u5efa\u7ad9/WIKI\u529f\u80fd|WIKI\u529f\u80fd  * \u4e92\u8054\u7f51 ** \u6162\u8baf\u76f4\u64ad\u95f4\uff082025\uff09|\u6162\u8baf ** OSINT\u9879\u76ee\u7ae0\u7a0b|OSINT\u9879\u76ee  * SEARCH * TOOLBOX *\u2026\u201d"
            },
            {
                "logid": 119,
                "ns": 8,
                "title": "MediaWiki:Common.js",
                "pageid": 115,
                "logpage": 115,
                "revid": 224,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Scio",
                "timestamp": "2024-12-30T06:37:34Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c/* \u8fd9\u91cc\u7684\u4efb\u4f55JavaScript\u5c06\u4e3a\u6240\u6709\u7528\u6237\u5728\u6bcf\u6b21\u9875\u9762\u52a0\u8f7d\u65f6\u52a0\u8f7d\u3002 */ importScript('MediaWiki:MassNullEdit.js');\u201d"
            },
            {
                "logid": 118,
                "ns": 8,
                "title": "MediaWiki:MassNullEdit.js",
                "pageid": 114,
                "logpage": 114,
                "revid": 223,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Scio",
                "timestamp": "2024-12-30T06:37:18Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c/**  * Mass Null Edit  * @description Null edit listed multiple pages.  * @author Ozuzanna  */  (function ($, mw) {     'use strict';      if (window.loadedMassNullEdit) {         return;     }     window.loadedMassNullEdit = true;      var apiModeData = {         backlinks: {             name: 'backlinks',             limit: 'bllimit',             value: 'bltitle'         },         transclusions: {             name: 'embeddedin',             limit: 'eilimit',\u2026\u201d"
            },
            {
                "logid": 117,
                "ns": 8,
                "title": "MediaWiki:MassNullEdit.css",
                "pageid": 113,
                "logpage": 113,
                "revid": 222,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Scio",
                "timestamp": "2024-12-30T06:37:16Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c/* [[MassNullEdit]] styling */  /* Main modal */ #mne-main {     width: 560px; }  /* Main modal input textarea */ #mne-input {     border: 1px solid #aaa;     box-sizing: border-box;     height: 20em;     padding: 2px;     width: 100%; }  /* Main modal notices element */ #mne-output {     background-color: #fdd;     border: 1px solid #aaa;     box-sizing: border-box;     color: #111;     height: 10em;     margin-top: 5px;     overflow: auto;     padding: 2px;\u2026\u201d"
            },
            {
                "logid": 116,
                "ns": 8,
                "title": "MediaWiki:Gadget-ReferenceTooltips.js",
                "pageid": 112,
                "logpage": 112,
                "revid": 220,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Scio",
                "timestamp": "2024-12-30T06:25:19Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c// See [[mw:Reference Tooltips]] // Source https://en.wikipedia.org/wiki/MediaWiki:Gadget-ReferenceTooltips.js  /*eslint space-in-parens: [\"error\", \"always\"], array-bracket-spacing: [\"error\", \"always\"]*/  ( function () {  // If you're loading the script from another wiki and want to set your settings, do that in `window` // properties with `rt_` prefix, e.g. //   window.rt_REF_LINK_SELECTOR = '...'; // They will be used instead of enwiki detaults. var REF_LINK_\u2026\u201d"
            },
            {
                "logid": 115,
                "ns": 8,
                "title": "MediaWiki:Gadget-ReferenceTooltips.css",
                "pageid": 111,
                "logpage": 111,
                "revid": 219,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Scio",
                "timestamp": "2024-12-30T06:25:13Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c/* See [[mw:Reference Tooltips]] */  .rt-overlay { \tposition: absolute; \twidth: 100%; \tfont-size: calc(var(--font-size-medium, 1rem) * (13 / 14)); \tline-height: 1.5em;  \t/* Remove after https://phabricator.wikimedia.org/T369880 is resolved and $teleportTarget is assigned */ \tz-index: 800; /* match z-index-tooltip in https://doc.wikimedia.org/codex/latest/design-tokens/z-index.html */ \ttop: 0; }  /* Remove after https://phabricator.wikimedia.org/T369880 is resol\u2026\u201d"
            }
        ]
    }
}