MediaWiki API 結果

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

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

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

{
    "batchcomplete": "",
    "query": {
        "general": {
            "mainpage": "\u9996\u9875",
            "base": "https://pediainside.com/wiki/%E9%A6%96%E9%A1%B5",
            "sitename": "\u6c42\u771f\u767e\u79d1",
            "logo": "https://pediainside.com/skins/Spatial/logo.png",
            "generator": "MediaWiki 1.31.0",
            "phpversion": "7.2.28-3+ubuntu16.04.1+deb.sury.org+1",
            "phpsapi": "fpm-fcgi",
            "dbtype": "mysql",
            "dbversion": "5.7.33-0ubuntu0.16.04.1-log",
            "externalimages": [
                ""
            ],
            "langconversion": "",
            "titleconversion": "",
            "linkprefixcharset": "",
            "linkprefix": "",
            "linktrail": "/^()(.*)$/sD",
            "legaltitlechars": " %!\"$&'()*,\\-.\\/0-9:;=?@A-Z\\\\^_`a-z~\\x80-\\xFF+",
            "invalidusernamechars": "@:",
            "fixarabicunicode": "",
            "fixmalayalamunicode": "",
            "git-hash": "6acf2ba2c747e5a52b442b107750f30fb64ca6cf",
            "git-branch": "master",
            "case": "first-letter",
            "lang": "zh",
            "fallback": [
                {
                    "code": "zh-hans"
                },
                {
                    "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": "Asia/Chongqing",
            "timeoffset": 480,
            "articlepath": "/wiki/$1",
            "scriptpath": "",
            "script": "/index.php",
            "variantarticlepath": false,
            "server": "https://pediainside.com",
            "servername": "pediainside.com",
            "wikiid": "mediawikidb",
            "time": "2024-09-28T15:37:04Z",
            "misermode": "",
            "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
                }
            ],
            "favicon": "https://pediainside.com/skins/Spatial/favicon_tmp/favicon.ico",
            "centralidlookupprovider": "local",
            "allcentralidlookupproviders": [
                "local"
            ],
            "interwikimagic": "",
            "magiclinks": [],
            "categorycollation": "uppercase",
            "wikibase-propertytypes": {
                "commonsMedia": {
                    "valuetype": "string"
                },
                "geo-shape": {
                    "valuetype": "string"
                },
                "globe-coordinate": {
                    "valuetype": "globecoordinate"
                },
                "monolingualtext": {
                    "valuetype": "monolingualtext"
                },
                "quantity": {
                    "valuetype": "quantity"
                },
                "string": {
                    "valuetype": "string"
                },
                "tabular-data": {
                    "valuetype": "string"
                },
                "time": {
                    "valuetype": "time"
                },
                "url": {
                    "valuetype": "string"
                },
                "external-id": {
                    "valuetype": "string"
                },
                "wikibase-item": {
                    "valuetype": "wikibase-entityid"
                },
                "wikibase-property": {
                    "valuetype": "wikibase-entityid"
                }
            },
            "wikibase-conceptbaseuri": "https://pediainside.com/entity/",
            "wikibase-geoshapestoragebaseurl": "https://commons.wikimedia.org/wiki/",
            "wikibase-tabulardatastoragebaseurl": "https://commons.wikimedia.org/wiki/",
            "citeresponsivereferences": "",
            "mobileserver": "https://pediainside.com"
        },
        "namespaces": {
            "-2": {
                "id": -2,
                "case": "first-letter",
                "canonical": "Media",
                "*": "Media"
            },
            "-1": {
                "id": -1,
                "case": "first-letter",
                "canonical": "Special",
                "*": "Special"
            },
            "0": {
                "id": 0,
                "case": "first-letter",
                "content": "",
                "*": ""
            },
            "1": {
                "id": 1,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Talk",
                "*": "Talk"
            },
            "2": {
                "id": 2,
                "case": "first-letter",
                "subpages": "",
                "canonical": "User",
                "*": "User"
            },
            "3": {
                "id": 3,
                "case": "first-letter",
                "subpages": "",
                "canonical": "User talk",
                "*": "User talk"
            },
            "4": {
                "id": 4,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Project",
                "*": "\u6c42\u771f\u767e\u79d1"
            },
            "5": {
                "id": 5,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Project talk",
                "*": "\u6c42\u771f\u767e\u79d1 talk"
            },
            "6": {
                "id": 6,
                "case": "first-letter",
                "canonical": "File",
                "*": "File"
            },
            "7": {
                "id": 7,
                "case": "first-letter",
                "subpages": "",
                "canonical": "File talk",
                "*": "File talk"
            },
            "8": {
                "id": 8,
                "case": "first-letter",
                "subpages": "",
                "canonical": "MediaWiki",
                "*": "MediaWiki"
            },
            "9": {
                "id": 9,
                "case": "first-letter",
                "subpages": "",
                "canonical": "MediaWiki talk",
                "*": "MediaWiki talk"
            },
            "10": {
                "id": 10,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Template",
                "*": "Template"
            },
            "11": {
                "id": 11,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Template talk",
                "*": "Template talk"
            },
            "12": {
                "id": 12,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Help",
                "*": "Help"
            },
            "13": {
                "id": 13,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Help talk",
                "*": "Help talk"
            },
            "14": {
                "id": 14,
                "case": "first-letter",
                "canonical": "Category",
                "*": "Category"
            },
            "15": {
                "id": 15,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Category talk",
                "*": "Category talk"
            },
            "120": {
                "id": 120,
                "case": "first-letter",
                "canonical": "Item",
                "defaultcontentmodel": "wikibase-item",
                "*": "Item"
            },
            "121": {
                "id": 121,
                "case": "first-letter",
                "canonical": "Item talk",
                "*": "Item talk"
            },
            "122": {
                "id": 122,
                "case": "first-letter",
                "canonical": "Property",
                "defaultcontentmodel": "wikibase-property",
                "*": "Property"
            },
            "123": {
                "id": 123,
                "case": "first-letter",
                "canonical": "Property talk",
                "*": "Property talk"
            },
            "828": {
                "id": 828,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Module",
                "*": "\u6a21\u5757"
            },
            "829": {
                "id": 829,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Module talk",
                "*": "\u6a21\u5757\u8ba8\u8bba"
            },
            "1198": {
                "id": 1198,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Translations",
                "*": "Translations"
            },
            "1199": {
                "id": 1199,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Translations talk",
                "*": "Translations talk"
            },
            "2300": {
                "id": 2300,
                "case": "first-letter",
                "canonical": "Gadget",
                "*": "Gadget"
            },
            "2301": {
                "id": 2301,
                "case": "first-letter",
                "canonical": "Gadget talk",
                "*": "Gadget talk"
            },
            "2302": {
                "id": 2302,
                "case": "case-sensitive",
                "canonical": "Gadget definition",
                "defaultcontentmodel": "GadgetDefinition",
                "*": "Gadget definition"
            },
            "2303": {
                "id": 2303,
                "case": "case-sensitive",
                "canonical": "Gadget definition talk",
                "*": "Gadget definition talk"
            },
            "3000": {
                "id": 3000,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Foo",
                "*": "Foo"
            },
            "3001": {
                "id": 3001,
                "case": "first-letter",
                "canonical": "Foo talk",
                "*": "Foo talk"
            },
            "3002": {
                "id": 3002,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Fooh",
                "*": "Fooh"
            },
            "3003": {
                "id": 3003,
                "case": "first-letter",
                "canonical": "Fooh talk",
                "*": "Fooh talk"
            },
            "3004": {
                "id": 3004,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Foop",
                "*": "Foop"
            },
            "3005": {
                "id": 3005,
                "case": "first-letter",
                "canonical": "Foop talk",
                "*": "Foop talk"
            },
            "3006": {
                "id": 3006,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Fooz",
                "*": "Fooz"
            },
            "3007": {
                "id": 3007,
                "case": "first-letter",
                "canonical": "Fooz talk",
                "*": "Fooz talk"
            },
            "3008": {
                "id": 3008,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Foom",
                "*": "Foom"
            },
            "3009": {
                "id": 3009,
                "case": "first-letter",
                "canonical": "Foom talk",
                "*": "Foom talk"
            },
            "3010": {
                "id": 3010,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Fooc",
                "*": "Fooc"
            },
            "3011": {
                "id": 3011,
                "case": "first-letter",
                "canonical": "Fooc talk",
                "*": "Fooc talk"
            },
            "3012": {
                "id": 3012,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Foov",
                "*": "Foov"
            },
            "3013": {
                "id": 3013,
                "case": "first-letter",
                "canonical": "Foov talk",
                "*": "Foov talk"
            },
            "3014": {
                "id": 3014,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Foot",
                "*": "Foot"
            },
            "3015": {
                "id": 3015,
                "case": "first-letter",
                "canonical": "Foot talk",
                "*": "Foot talk"
            },
            "3016": {
                "id": 3016,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Portal",
                "*": "Portal"
            },
            "3017": {
                "id": 3017,
                "case": "first-letter",
                "canonical": "Portal talk",
                "*": "Portal talk"
            },
            "3018": {
                "id": 3018,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Foow",
                "*": "Foow"
            },
            "3019": {
                "id": 3019,
                "case": "first-letter",
                "canonical": "Foow talk",
                "*": "Foow talk"
            },
            "3020": {
                "id": 3020,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Foos",
                "*": "Foos"
            },
            "3021": {
                "id": 3021,
                "case": "first-letter",
                "canonical": "Foos talk",
                "*": "Foos talk"
            }
        },
        "namespacealiases": [
            {
                "id": -2,
                "*": "\u5a92\u4f53"
            },
            {
                "id": -2,
                "*": "\u5a92\u4f53\u6587\u4ef6"
            },
            {
                "id": -2,
                "*": "\u5a92\u9ad4"
            },
            {
                "id": -1,
                "*": "\u7279\u6b8a"
            },
            {
                "id": 1,
                "*": "\u5bf9\u8bdd"
            },
            {
                "id": 1,
                "*": "\u5c0d\u8a71"
            },
            {
                "id": 1,
                "*": "\u8a0e\u8ad6"
            },
            {
                "id": 1,
                "*": "\u8ba8\u8bba"
            },
            {
                "id": 2,
                "*": "\u7528\u6236"
            },
            {
                "id": 2,
                "*": "\u7528\u6237"
            },
            {
                "id": 3,
                "*": "\u7528\u6236\u5c0d\u8a71"
            },
            {
                "id": 3,
                "*": "\u7528\u6236\u8a0e\u8ad6"
            },
            {
                "id": 3,
                "*": "\u7528\u6237\u5bf9\u8bdd"
            },
            {
                "id": 3,
                "*": "\u7528\u6237\u8ba8\u8bba"
            },
            {
                "id": 5,
                "*": "\u6c42\u771f\u767e\u79d1\u8a0e\u8ad6"
            },
            {
                "id": 5,
                "*": "\u6c42\u771f\u767e\u79d1\u8ba8\u8bba"
            },
            {
                "id": 6,
                "*": "Image"
            },
            {
                "id": 6,
                "*": "\u56fe\u50cf"
            },
            {
                "id": 6,
                "*": "\u5716\u50cf"
            },
            {
                "id": 6,
                "*": "\u6587\u4ef6"
            },
            {
                "id": 6,
                "*": "\u6863\u6848"
            },
            {
                "id": 6,
                "*": "\u6a94\u6848"
            },
            {
                "id": 7,
                "*": "Image talk"
            },
            {
                "id": 7,
                "*": "\u56fe\u50cf\u5bf9\u8bdd"
            },
            {
                "id": 7,
                "*": "\u56fe\u50cf\u8ba8\u8bba"
            },
            {
                "id": 7,
                "*": "\u5716\u50cf\u5c0d\u8a71"
            },
            {
                "id": 7,
                "*": "\u5716\u50cf\u8a0e\u8ad6"
            },
            {
                "id": 7,
                "*": "\u6587\u4ef6\u5bf9\u8bdd"
            },
            {
                "id": 7,
                "*": "\u6587\u4ef6\u5c0d\u8a71"
            },
            {
                "id": 7,
                "*": "\u6587\u4ef6\u8a0e\u8ad6"
            },
            {
                "id": 7,
                "*": "\u6587\u4ef6\u8ba8\u8bba"
            },
            {
                "id": 7,
                "*": "\u6863\u6848\u5bf9\u8bdd"
            },
            {
                "id": 7,
                "*": "\u6863\u6848\u8ba8\u8bba"
            },
            {
                "id": 7,
                "*": "\u6a94\u6848\u5c0d\u8a71"
            },
            {
                "id": 7,
                "*": "\u6a94\u6848\u8a0e\u8ad6"
            },
            {
                "id": 9,
                "*": "MediaWiki\u8a0e\u8ad6"
            },
            {
                "id": 9,
                "*": "MediaWiki\u8ba8\u8bba"
            },
            {
                "id": 10,
                "*": "\u6837\u677f"
            },
            {
                "id": 10,
                "*": "\u6a21\u677f"
            },
            {
                "id": 10,
                "*": "\u6a23\u677f"
            },
            {
                "id": 11,
                "*": "\u6837\u677f\u5bf9\u8bdd"
            },
            {
                "id": 11,
                "*": "\u6837\u677f\u8ba8\u8bba"
            },
            {
                "id": 11,
                "*": "\u6a21\u677f\u5bf9\u8bdd"
            },
            {
                "id": 11,
                "*": "\u6a21\u677f\u5c0d\u8a71"
            },
            {
                "id": 11,
                "*": "\u6a21\u677f\u8a0e\u8ad6"
            },
            {
                "id": 11,
                "*": "\u6a21\u677f\u8ba8\u8bba"
            },
            {
                "id": 11,
                "*": "\u6a23\u677f\u5c0d\u8a71"
            },
            {
                "id": 11,
                "*": "\u6a23\u677f\u8a0e\u8ad6"
            },
            {
                "id": 12,
                "*": "\u5e2e\u52a9"
            },
            {
                "id": 12,
                "*": "\u5e6b\u52a9"
            },
            {
                "id": 13,
                "*": "\u5e2e\u52a9\u5bf9\u8bdd"
            },
            {
                "id": 13,
                "*": "\u5e2e\u52a9\u8ba8\u8bba"
            },
            {
                "id": 13,
                "*": "\u5e6b\u52a9\u5c0d\u8a71"
            },
            {
                "id": 13,
                "*": "\u5e6b\u52a9\u8a0e\u8ad6"
            },
            {
                "id": 14,
                "*": "\u5206\u7c7b"
            },
            {
                "id": 14,
                "*": "\u5206\u985e"
            },
            {
                "id": 15,
                "*": "\u5206\u7c7b\u5bf9\u8bdd"
            },
            {
                "id": 15,
                "*": "\u5206\u7c7b\u8ba8\u8bba"
            },
            {
                "id": 15,
                "*": "\u5206\u985e\u5c0d\u8a71"
            },
            {
                "id": 15,
                "*": "\u5206\u985e\u8a0e\u8ad6"
            },
            {
                "id": 121,
                "*": "Item talk"
            },
            {
                "id": 123,
                "*": "Property talk"
            },
            {
                "id": 828,
                "*": "\u6a21\u7d44"
            },
            {
                "id": 829,
                "*": "\u6a21\u7d44\u8a0e\u8ad6"
            },
            {
                "id": 1199,
                "*": "Translations talk"
            },
            {
                "id": 2301,
                "*": "Gadget talk"
            },
            {
                "id": 2302,
                "*": "Gadget definition"
            },
            {
                "id": 2303,
                "*": "Gadget definition talk"
            },
            {
                "id": 3001,
                "*": "Foo talk"
            },
            {
                "id": 3003,
                "*": "Fooh talk"
            },
            {
                "id": 3005,
                "*": "Foop talk"
            },
            {
                "id": 3007,
                "*": "Fooz talk"
            },
            {
                "id": 3009,
                "*": "Foom talk"
            },
            {
                "id": 3011,
                "*": "Fooc talk"
            },
            {
                "id": 3013,
                "*": "Foov talk"
            },
            {
                "id": 3015,
                "*": "Foot talk"
            },
            {
                "id": 3017,
                "*": "Portal talk"
            },
            {
                "id": 3019,
                "*": "Foow talk"
            },
            {
                "id": 3021,
                "*": "Foos talk"
            }
        ],
        "statistics": {
            "pages": 2916384,
            "articles": 1706219,
            "edits": 5908998,
            "images": 1118731,
            "users": 2644,
            "activeusers": 225,
            "admins": 5,
            "jobs": 0
        }
    }
}