MediaWiki API 結果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20250614141023|17",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 27,
                "ns": 10,
                "title": "\u6a21\u677f:Rule",
                "pageid": 20,
                "logpage": 20,
                "revid": 23,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "GTEH",
                "timestamp": "2025-06-15T02:31:30Z",
                "comment": "\u5efa\u7acb\u5167\u5bb9\u70ba\u300c<onlyinclude>{{Info|type=warn|text=\u9019\u662f\u5361\u7279\u970d\u666e\u88fd\u5b9a\u7684\u4e00\u9805\u898f\u5b9a\u6216\u898f\u5247\u3002<br>\u672a\u7d93\u6279\u51c6\uff0c\u4efb\u4f55\u4eba\u4e0d\u5f97\u66f4\u6539\u6b64\u9801\u9762\u4e0a\u986f\u793a\u7684\u5167\u5bb9\u3002}}</onlyinclude> [[en:Template:ARR]] [[zh-hans-cn:Template:ARR]]\u300d\u7684\u65b0\u9801\u9762"
            },
            {
                "logid": 26,
                "ns": 10,
                "title": "\u6a21\u677f:Infobox",
                "pageid": 19,
                "logpage": 19,
                "revid": 22,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "GTEH",
                "timestamp": "2025-06-15T02:13:58Z",
                "comment": "\u5efa\u7acb\u5167\u5bb9\u70ba\u300c<includeonly>{{#invoke:Infobox|main}}</includeonly> <noinclude> [[en:Template:Infobox]] [[zh-hans-cn:Template:Infobox]] <templatedata> { \t\"params\": { \t\t\"title\": { \t\t\t\"label\": \"\u6a19\u984c\", \t\t\t\"description\": \"\u8cc7\u8a0a\u6846\u5916\u986f\u793a\u7684\u6a19\u984c\u3002\", \t\t\t\"type\": \"line\", \t\t\t\"suggested\": true \t\t}, \t\t\"image1\": { \t\t\t\"label\": \"\u5716\u72471\", \t\t\t\"type\": \"wiki-file-name\" \t\t}, \t\t\"image2\": { \t\t\t\"label\": \"\u5716\u72472\", \t\t\t\"type\": \"wiki-file-name\" \t\t}, \t\t\"label1\": { \t\t\t\"label\": \"\u6a19\u7c641\",\u2026\u300d\u7684\u65b0\u9801\u9762"
            },
            {
                "logid": 25,
                "ns": 10,
                "title": "\u6a21\u677f:Info",
                "pageid": 18,
                "logpage": 18,
                "revid": 21,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "GTEH",
                "timestamp": "2025-06-15T02:02:24Z",
                "comment": "\u5efa\u7acb\u5167\u5bb9\u70ba\u300c<includeonly>{{#if: {{{1|{{{content|{{{text|{{{demo|<noinclude>demo</noinclude>}}}}}}}}}}}} | <templatestyles src=\"Info/styles.css\" /><div role=\"note\" class=\"note note-{{#switch: {{{2|{{{type|}}}}}}     |gotcha=error     |warning=warn     |notice=info     |=info     |#default={{{2|{{{type|}}}}}}     }} {{#ifeq:{{{inline|}}}|1|note-inline}}\">{{{1|{{{content|{{{text}}}}}}}}}</div>   | [[File:Fontawesome-lightbulb-solid.svg|18px|alt=<!--T:1--> \u6ce8|link=]]&nbsp;\u2026\u300d\u7684\u65b0\u9801\u9762"
            },
            {
                "logid": 24,
                "ns": 10,
                "title": "\u6a21\u677f:Main",
                "pageid": 17,
                "logpage": 17,
                "revid": 20,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "GTEH",
                "timestamp": "2025-06-15T01:53:06Z",
                "comment": "\u5efa\u7acb\u5167\u5bb9\u70ba\u300c<includeonly><templatestyles src=\"SmallFont.css\" /><div class=\"small-font\">\u4e3b\u6761\u76ee\uff1a{{#invoke:SectionLinkJoin|main}}</div></includeonly> <noinclude> [[en:Template:Main]] [[zh-hans-cn:Template:Main]] <templatedata> { \t\"params\": { \t\t\"1\": { \t\t\t\"type\": \"wiki-page-name\", \t\t\t\"suggested\": true \t\t}, \t\t\"2\": { \t\t\t\"type\": \"wiki-page-name\" \t\t}, \t\t\"3\": { \t\t\t\"type\": \"wiki-page-name\" \t\t}, \t\t\"4\": { \t\t\t\"type\": \"wiki-page-name\" \t\t}, \t\t\"5\": { \t\t\t\"type\": \"wiki-page-name\" \t\t}\u2026\u300d\u7684\u65b0\u9801\u9762"
            },
            {
                "logid": 23,
                "ns": 10,
                "title": "\u6a21\u677f:See also",
                "pageid": 16,
                "logpage": 16,
                "revid": 19,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "GTEH",
                "timestamp": "2025-06-15T01:51:28Z",
                "comment": "\u5efa\u7acb\u5167\u5bb9\u70ba\u300c<includeonly><templatestyles src=\"SmallFont.css\" /><div class=\"small-font\">\u53c3\u898b\uff1a{{#invoke:LinkJoin|main}}</div></includeonly> <noinclude> [[en:Template:See also]] [[zh-hans-cn:Template:See also]] <templatedata> { \t\"params\": { \t\t\"1\": { \t\t\t\"type\": \"wiki-page-name\", \t\t\t\"suggested\": true \t\t}, \t\t\"2\": { \t\t\t\"type\": \"wiki-page-name\" \t\t}, \t\t\"3\": { \t\t\t\"type\": \"wiki-page-name\" \t\t}, \t\t\"4\": { \t\t\t\"type\": \"wiki-page-name\" \t\t}, \t\t\"5\": { \t\t\t\"type\": \"wiki-page-name\" \t\t},\u2026\u300d\u7684\u65b0\u9801\u9762"
            },
            {
                "logid": 22,
                "ns": 10,
                "title": "\u6a21\u677f:PD",
                "pageid": 15,
                "logpage": 15,
                "revid": 17,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "GTEH",
                "timestamp": "2025-06-15T01:40:01Z",
                "comment": "\u5efa\u7acb\u5167\u5bb9\u70ba\u300c<onlyinclude><templatestyles src=\"PD/styles.css\" /><templatestyles src=\"Licenses.css\" /><div role=\"pd\" class=\"cc pd\"><i>{{#switch:{{{1|{{{reason|{{{because|}}}}}}}}}|=\u6b64\u6a94\u6848\u5df2\u7531\u7248\u6b0a\u6240\u6709\u8005{{#if:{{{2|{{{author|}}}}}}|\uff08{{{2|{{{author|}}}}}}\uff09}}\u767c\u4f48\u5230\u516c\u5171\u9818\u57df\uff0c\u5176\u7248\u6b0a\u5df2\u904e\u671f\uff0c\u6216\u4e0d\u7b26\u5408\u7248\u6b0a\u689d\u4ef6\u3002\u9019\u9069\u7528\u65bc\u5168\u4e16\u754c\u3002|self=\u6211\uff0c\u672c\u4f5c\u54c1\u7684\u7248\u6b0a\u6301\u6709\u4eba\uff0c\u5c07\u672c\u4f5c\u54c1\u767c\u4f48\u5230\u516c\u5171\u9818\u57df\u3002\u9019\u9069\u7528\u65bc\u5168\u4e16\u754c\u3002|#default=\u2026\u300d\u7684\u65b0\u9801\u9762"
            },
            {
                "logid": 21,
                "ns": 10,
                "title": "\u6a21\u677f:CC-BY-4.0",
                "pageid": 14,
                "logpage": 14,
                "revid": 16,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "GTEH",
                "timestamp": "2025-06-15T01:13:30Z",
                "comment": "\u5efa\u7acb\u5167\u5bb9\u70ba\u300c<onlyinclude><templatestyles src=\"CC-BY-4.0/styles.css\" /><templatestyles src=\"Licenses.css\" /><div role=\"cc-by-4.0\" class=\"cc cc-by\">\u672c\u4f5c\u54c1\u63a1\u7528[https://creativecommons.org/licenses/by/4.0/deed.zh-hant \u77e5\u8b58\u5171\u4eab\u59d3\u540d\u6a19\u793a4.0\u570b\u969b]\u6388\u6b0a\u3002<br><i>\u4f60\u53ef\u81ea\u7531\u5206\u4eab\u3001\u4fee\u6539\uff0c\u53ea\u8981\u4f60\u9075\u5b88\u6388\u6b0a\u689d\u6b3e\u898f\u5b9a\uff0c\u6388\u6b0a\u4eba\u4e0d\u80fd\u64a4\u56de\u4f60\u4f7f\u7528\u672c\u7d20\u6750\u7684\u81ea\u7531\u3002<br>\u60df\u9700\u9075\u7167\u4e0b\u5217\u689d\u4ef6\uff1a\u59d3\u540d\u6a19\u793a \u2014 \u4f60\u5fc5\u9808\u7d66\u4e88\u9069\u7576\u8868\u5f70\u3001\u63d0\u4f9b\u6307\u2026\u300d\u7684\u65b0\u9801\u9762"
            },
            {
                "logid": 20,
                "ns": 10,
                "title": "\u6a21\u677f:Licenses.css",
                "pageid": 13,
                "logpage": 13,
                "params": {
                    "oldmodel": "wikitext",
                    "newmodel": "sanitized-css"
                },
                "type": "contentmodel",
                "action": "change",
                "user": "GTEH",
                "timestamp": "2025-06-14T14:12:07Z",
                "comment": ""
            },
            {
                "logid": 19,
                "ns": 10,
                "title": "\u6a21\u677f:Licenses.css",
                "pageid": 13,
                "logpage": 13,
                "revid": 14,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "GTEH",
                "timestamp": "2025-06-14T14:11:50Z",
                "comment": "\u5efa\u7acb\u5167\u5bb9\u70ba\u300c.cc { \tbackground-position: left 12px top 50%; \tpadding: 0.5em 0.5em 0.5em 75px; \tmargin: 4px 10%; \toverflow: hidden; \tbackground-color: #f8f9fa; \tcolor: #333; \tbackground-repeat: no-repeat; \tborder: 3px solid #808080; \t/* [[:zh-hans-cn:File:Fontawesome-creative-commons-brands.svg]] */ \tbackground-image: url(\"https://www.cathop.top/images/zh/1/1a/Fontawesome-creative-commons-brands.svg\"); \tbackground-size: 52px; \tmin-height: 65px; \tline-height: 1.6; }  .ccci\u2026\u300d\u7684\u65b0\u9801\u9762"
            },
            {
                "logid": 18,
                "ns": 10,
                "title": "\u6a21\u677f:PD/styles.css",
                "pageid": 12,
                "logpage": 12,
                "revid": 13,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "GTEH",
                "timestamp": "2025-06-14T14:11:07Z",
                "comment": "\u5efa\u7acb\u5167\u5bb9\u70ba\u300c.pd { \t/* [[:zh-hans-cn:File:Fontawesome-creative-commons-pd-brands.svg]] */ \tbackground-image: url(\"https://www.cathop.top/images/zh/5/50/Fontawesome-creative-commons-pd-brands.svg\") !important; }  .pd hr { \theight: 1px; \tmargin: .2em 0; }  .pd span { \tfont-size: smaller; \tline-height: 1.2; }\u300d\u7684\u65b0\u9801\u9762"
            }
        ]
    }
}