Hasil API MediaWiki

Anda sedang menyaksikan representasi format JSON dalam bentuk HTML. HTML bagus untuk menyah pepijat, tetapi tidak sesuai untuk kegunaan aplikasi.

Nyatakan parameter format untuk mengubah format outputnya. Untuk melihat representasi format JSON yang bukan HTML, tetapkan format=json.

Sila rujuk dokumentasi lengkapnya ataupun bantuan API untuk keterangan lanjut.

{
    "query": {
        "general": {
            "mainpage": "Laman Utama",
            "base": "http://ms.uncyclopedia.info/wiki/Laman_Utama",
            "sitename": "Bodohpedia",
            "logo": "http://images.uncyc.org/ms/b/bc/Wiki.png",
            "generator": "MediaWiki 1.25.2",
            "phpversion": "5.6.31",
            "phpsapi": "apache2handler",
            "dbtype": "mysql",
            "dbversion": "5.5.52-MariaDB",
            "imagewhitelistenabled": "",
            "externalimages": [
                "http://images.uncyc.org/",
                "http://image.uncyc.org/",
                "http://commons.uncyclomedia.org/"
            ],
            "langconversion": "",
            "titleconversion": "",
            "linkprefixcharset": "",
            "linkprefix": "",
            "linktrail": "/^([a-z]+)(.*)$/sD",
            "legaltitlechars": " %!\"$&'()*,\\-.\\/0-9:;[email protected]\\\\^_`a-z~\\x80-\\xFF+",
            "case": "first-letter",
            "lang": "ms",
            "fallback": [
                {
                    "code": "en"
                }
            ],
            "fallback8bitEncoding": "windows-1252",
            "writeapi": "",
            "timezone": "UTC",
            "timeoffset": 0,
            "articlepath": "/wiki/$1",
            "scriptpath": "",
            "script": "/index.php",
            "variantarticlepath": false,
            "server": "http://ms.uncyclopedia.info",
            "servername": "ms.uncyclopedia.info",
            "wikiid": "uncyc_ms",
            "time": "2017-08-23T04:00:28Z",
            "misermode": "",
            "maxuploadsize": 104857600,
            "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": "http://images.uncyc.org/ms/6/64/Favicon.ico"
        }
    }
}