MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "query": {
        "pages": {
            "-1": {
                "ns": 0,
                "title": "Main Page",
                "missing": ""
            }
        },
        "general": {
            "mainpage": "\u9996\u9875",
            "base": "https://www.conanpedia.com/%E9%A6%96%E9%A1%B5",
            "sitename": "\u67ef\u5357\u767e\u79d1",
            "logo": "https://www.conanpedia.com/resources/assets/conanpedia.svg",
            "generator": "MediaWiki 1.39.4",
            "phpversion": "8.3.4",
            "phpsapi": "fpm-fcgi",
            "dbtype": "mysql",
            "dbversion": "8.0.35",
            "langconversion": "",
            "linkconversion": "",
            "titleconversion": "",
            "linkprefixcharset": "",
            "linkprefix": "",
            "linktrail": "/^()(.*)$/sD",
            "legaltitlechars": " %!\"$&'()*,\\-.\\/0-9:;=?@A-Z\\\\^_`a-z~\\x80-\\xFF+",
            "invalidusernamechars": "@:>",
            "fixarabicunicode": "",
            "fixmalayalamunicode": "",
            "case": "first-letter",
            "lang": "zh",
            "fallback": [
                {
                    "code": "zh-hans"
                },
                {
                    "code": "zh-hant"
                },
                {
                    "code": "zh-cn"
                },
                {
                    "code": "zh-tw"
                },
                {
                    "code": "zh-hk"
                },
                {
                    "code": "en"
                }
            ],
            "variants": [
                {
                    "code": "zh",
                    "name": "\u4e0d\u8f6c\u6362"
                },
                {
                    "code": "zh-hans",
                    "name": "\u7b80\u4f53"
                },
                {
                    "code": "zh-hant",
                    "name": "\u7e41\u9ad4"
                }
            ],
            "fallback8bitEncoding": "windows-936",
            "writeapi": "",
            "maxarticlesize": 2097152,
            "timezone": "PRC",
            "timeoffset": 480,
            "articlepath": "/$1",
            "scriptpath": "",
            "script": "/index.php",
            "variantarticlepath": "/$2/$1",
            "server": "https://www.conanpedia.com",
            "servername": "www.conanpedia.com",
            "wikiid": "conanpedia",
            "time": "2024-05-20T14:54:23Z",
            "uploadsenabled": "",
            "maxuploadsize": 1572864,
            "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://www.conanpedia.com/favicon.ico",
            "centralidlookupprovider": "local",
            "allcentralidlookupproviders": [
                "local"
            ],
            "interwikimagic": "",
            "magiclinks": [],
            "categorycollation": "uppercase",
            "nofollowlinks": "",
            "nofollownsexceptions": [],
            "nofollowdomainexceptions": [
                "mediawiki.org"
            ],
            "externallinktarget": "_blank",
            "citeresponsivereferences": ""
        }
    }
}