MediaWiki API 結果

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

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

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

{
    "query": {
        "general": {
            "mainpage": "\u9996\u9801",
            "base": "https://lamplib.mickey.tw/wiki/%E9%A6%96%E9%A0%81",
            "sitename": "\u71c3\u71c8\u5716\u66f8\u9928Wiki",
            "logo": "https://lamplib.mickey.tw/wiki/skins/common/images/wiki.png",
            "generator": "MediaWiki 1.25.5",
            "phpversion": "7.3.33",
            "phpsapi": "litespeed",
            "dbtype": "mysql",
            "dbversion": "8.0.40-cll-lve",
            "externalimages": [
                ""
            ],
            "langconversion": "",
            "titleconversion": "",
            "linkprefixcharset": "",
            "linkprefix": "",
            "linktrail": "/^()(.*)$/sD",
            "legaltitlechars": " %!\"$&'()*,\\-.\\/0-9:;=?@A-Z\\\\^_`a-z~\\x80-\\xFF+",
            "case": "first-letter",
            "lang": "zh-tw",
            "fallback": [
                {
                    "code": "zh-hant"
                },
                {
                    "code": "zh-hans"
                },
                {
                    "code": "en"
                }
            ],
            "fallback8bitEncoding": "windows-950",
            "writeapi": "",
            "timezone": "Asia/Taipei",
            "timeoffset": 480,
            "articlepath": "/wiki/$1",
            "scriptpath": "/wiki",
            "script": "/wiki/index.php",
            "variantarticlepath": false,
            "server": "https://lamplib.mickey.tw",
            "servername": "lamplib.mickey.tw",
            "wikiid": "lamplibm_mw2-mw_",
            "time": "2024-11-25T06:25:17Z",
            "maxuploadsize": 104857600,
            "minuploadchunksize": 1024,
            "thumblimits": [
                120,
                150,
                180,
                200,
                250,
                300
            ],
            "imagelimits": [
                {
                    "width": 320,
                    "height": 240
                },
                {
                    "width": 640,
                    "height": 480
                },
                {
                    "width": 800,
                    "height": 600
                },
                {
                    "width": 1024,
                    "height": 768
                },
                {
                    "width": 1280,
                    "height": 1024
                }
            ],
            "favicon": "https://lamplib.mickey.tw/favicon.ico"
        },
        "namespaces": {
            "-2": {
                "id": -2,
                "case": "first-letter",
                "canonical": "Media",
                "*": "\u5a92\u9ad4"
            },
            "-1": {
                "id": -1,
                "case": "first-letter",
                "canonical": "Special",
                "*": "\u7279\u6b8a"
            },
            "0": {
                "id": 0,
                "case": "first-letter",
                "content": "",
                "*": ""
            },
            "1": {
                "id": 1,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Talk",
                "*": "\u8a0e\u8ad6"
            },
            "2": {
                "id": 2,
                "case": "first-letter",
                "subpages": "",
                "canonical": "User",
                "*": "\u4f7f\u7528\u8005"
            },
            "3": {
                "id": 3,
                "case": "first-letter",
                "subpages": "",
                "canonical": "User talk",
                "*": "\u4f7f\u7528\u8005\u8a0e\u8ad6"
            },
            "4": {
                "id": 4,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Project",
                "*": "My wiki"
            },
            "5": {
                "id": 5,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Project talk",
                "*": "My wiki\u8a0e\u8ad6"
            },
            "6": {
                "id": 6,
                "case": "first-letter",
                "canonical": "File",
                "*": "\u6a94\u6848"
            },
            "7": {
                "id": 7,
                "case": "first-letter",
                "subpages": "",
                "canonical": "File talk",
                "*": "\u6a94\u6848\u8a0e\u8ad6"
            },
            "8": {
                "id": 8,
                "case": "first-letter",
                "subpages": "",
                "canonical": "MediaWiki",
                "*": "MediaWiki"
            },
            "9": {
                "id": 9,
                "case": "first-letter",
                "subpages": "",
                "canonical": "MediaWiki talk",
                "*": "MediaWiki\u8a0e\u8ad6"
            },
            "10": {
                "id": 10,
                "case": "first-letter",
                "canonical": "Template",
                "*": "\u6a21\u677f"
            },
            "11": {
                "id": 11,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Template talk",
                "*": "\u6a21\u677f\u8a0e\u8ad6"
            },
            "12": {
                "id": 12,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Help",
                "*": "\u4f7f\u7528\u8aaa\u660e"
            },
            "13": {
                "id": 13,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Help talk",
                "*": "\u4f7f\u7528\u8aaa\u660e\u8a0e\u8ad6"
            },
            "14": {
                "id": 14,
                "case": "first-letter",
                "canonical": "Category",
                "*": "\u5206\u985e"
            },
            "15": {
                "id": 15,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Category talk",
                "*": "\u5206\u985e\u8a0e\u8ad6"
            }
        },
        "namespacealiases": [
            {
                "id": 6,
                "*": "Image"
            },
            {
                "id": 6,
                "*": "\u5716\u7247"
            },
            {
                "id": 7,
                "*": "Image talk"
            },
            {
                "id": 7,
                "*": "\u5716\u7247\u8a0e\u8ad6"
            }
        ],
        "statistics": {
            "pages": 88,
            "articles": 66,
            "edits": 4629,
            "images": 3,
            "users": 3,
            "activeusers": 1,
            "admins": 1,
            "jobs": 0
        }
    }
}