MediaWiki API 結果

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

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

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

{
    "batchcomplete": "",
    "query": {
        "pages": {
            "-1": {
                "ns": 0,
                "title": "Main Page",
                "missing": ""
            }
        },
        "general": {
            "mainpage": "\u9996\u9801",
            "base": "https://easonmusic.com/wiki/%E9%A6%96%E9%A0%81",
            "sitename": "Eason Chan Music Wiki \u8fc5\u97f3\u6a02\uff1a\u9673\u5955\u8fc5\u97f3\u6a02\u7dad\u57fa",
            "logo": "//easonmusic.com/static/Cmonin.jpg",
            "generator": "MediaWiki 1.39.1",
            "phpversion": "8.1.14",
            "phpsapi": "apache2handler",
            "dbtype": "mysql",
            "dbversion": "10.10.2-MariaDB-1:10.10.2+maria~ubu2204",
            "langconversion": "",
            "linkconversion": "",
            "titleconversion": "",
            "linkprefixcharset": "",
            "linkprefix": "",
            "linktrail": "/^()(.*)$/sD",
            "legaltitlechars": " %!\"$&'()*,\\-.\\/0-9:;=?@A-Z\\\\^_`a-z~\\x80-\\xFF+",
            "invalidusernamechars": "@:>",
            "fixarabicunicode": "",
            "fixmalayalamunicode": "",
            "case": "first-letter",
            "lang": "zh-hk",
            "fallback": [
                {
                    "code": "zh-hant"
                },
                {
                    "code": "zh-tw"
                },
                {
                    "code": "zh"
                },
                {
                    "code": "zh-hans"
                },
                {
                    "code": "en"
                }
            ],
            "fallback8bitEncoding": "Big5-HKSCS",
            "readonly": "",
            "readonlyreason": "\u8cc7\u6599\u5eab\u640d\u6bc0\uff0c\u5f85\u7dad\u4fee\u3002",
            "writeapi": "",
            "maxarticlesize": 2097152,
            "timezone": "UTC",
            "timeoffset": 0,
            "articlepath": "/wiki/$1",
            "scriptpath": "/w",
            "script": "/w/index.php",
            "variantarticlepath": false,
            "server": "//easonmusic.com",
            "servername": "easonmusic.com",
            "wikiid": "easonmusic_wiki-wiki_",
            "time": "2024-05-05T16:29:34Z",
            "uploadsenabled": "",
            "maxuploadsize": 104857600,
            "minuploadchunksize": 1024,
            "galleryoptions": {
                "imagesPerRow": 0,
                "imageWidth": 120,
                "imageHeight": 120,
                "captionLength": "",
                "showBytes": "",
                "showDimensions": "",
                "mode": "traditional"
            },
            "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
                },
                {
                    "width": 2560,
                    "height": 2048
                }
            ],
            "favicon": "https://easonmusic.com/favicon.ico",
            "centralidlookupprovider": "local",
            "allcentralidlookupproviders": [
                "local"
            ],
            "interwikimagic": "",
            "magiclinks": [],
            "categorycollation": "uppercase",
            "nofollowlinks": "",
            "nofollownsexceptions": [],
            "nofollowdomainexceptions": [
                "mediawiki.org"
            ]
        }
    }
}