Odpověď z MediaWiki API

Toto je HTML reprezentace formátu JSON. HTML se hodí pro ladění, ale pro aplikační použití je nevhodné.

Pro změnu výstupního formátu uveďte parametr format. Abyste viděli ne-HTML reprezentaci formátu JSON, nastavte format=json.

Více informací najdete v úplné dokumentaci nebo v nápovědě k API.

{
    "batchcomplete": "",
    "query": {
        "general": {
            "mainpage": "Hlavn\u00ed strana",
            "base": "http://wiki.tf.jcu.cz/index.php/Hlavn%C3%AD_strana",
            "sitename": "WiKi TF",
            "logo": "http://wiki.tf.jcu.cz/skins/common/images/wiki.png",
            "generator": "MediaWiki 1.27.4",
            "phpversion": "5.5.38-1~dotdeb+7.1",
            "phpsapi": "apache2handler",
            "dbtype": "mysql",
            "dbversion": "5.1.73-1",
            "imagewhitelistenabled": "",
            "langconversion": "",
            "titleconversion": "",
            "linkprefixcharset": "",
            "linkprefix": "",
            "linktrail": "/^([a-z\u00e1\u010d\u010f\u00e9\u011b\u00ed\u0148\u00f3\u0159\u0161\u0165\u00fa\u016f\u00fd\u017e]+)(.*)$/sDu",
            "legaltitlechars": " %!\"$&'()*,\\-.\\/0-9:;=?@A-Z\\\\^_`a-z~\\x80-\\xFF+",
            "invalidusernamechars": "@:",
            "case": "first-letter",
            "lang": "cs",
            "fallback": [
                {
                    "code": "en"
                }
            ],
            "fallback8bitEncoding": "cp1250",
            "writeapi": "",
            "timezone": "UTC",
            "timeoffset": 0,
            "articlepath": "/index.php/$1",
            "scriptpath": "",
            "script": "/index.php",
            "variantarticlepath": false,
            "server": "http://wiki.tf.jcu.cz",
            "servername": "wiki.tf.jcu.cz",
            "wikiid": "wiki",
            "time": "2024-11-27T03:54:04Z",
            "uploadsenabled": "",
            "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": "http://wiki.tf.jcu.cz/favicon.ico",
            "centralidlookupprovider": "local",
            "allcentralidlookupproviders": [
                "local"
            ]
        },
        "namespaces": {
            "-2": {
                "id": -2,
                "case": "first-letter",
                "canonical": "Media",
                "*": "M\u00e9dia"
            },
            "-1": {
                "id": -1,
                "case": "first-letter",
                "canonical": "Special",
                "*": "Speci\u00e1ln\u00ed"
            },
            "0": {
                "id": 0,
                "case": "first-letter",
                "content": "",
                "*": ""
            },
            "1": {
                "id": 1,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Talk",
                "*": "Diskuse"
            },
            "2": {
                "id": 2,
                "case": "first-letter",
                "subpages": "",
                "canonical": "User",
                "*": "U\u017eivatel"
            },
            "3": {
                "id": 3,
                "case": "first-letter",
                "subpages": "",
                "canonical": "User talk",
                "*": "Diskuse s u\u017eivatelem"
            },
            "4": {
                "id": 4,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Project",
                "*": "WiKi TF"
            },
            "5": {
                "id": 5,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Project talk",
                "*": "Diskuse k WiKi TF"
            },
            "6": {
                "id": 6,
                "case": "first-letter",
                "canonical": "File",
                "*": "Soubor"
            },
            "7": {
                "id": 7,
                "case": "first-letter",
                "subpages": "",
                "canonical": "File talk",
                "*": "Diskuse k souboru"
            },
            "8": {
                "id": 8,
                "case": "first-letter",
                "subpages": "",
                "canonical": "MediaWiki",
                "*": "MediaWiki"
            },
            "9": {
                "id": 9,
                "case": "first-letter",
                "subpages": "",
                "canonical": "MediaWiki talk",
                "*": "Diskuse k MediaWiki"
            },
            "10": {
                "id": 10,
                "case": "first-letter",
                "canonical": "Template",
                "*": "\u0160ablona"
            },
            "11": {
                "id": 11,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Template talk",
                "*": "Diskuse k \u0161ablon\u011b"
            },
            "12": {
                "id": 12,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Help",
                "*": "N\u00e1pov\u011bda"
            },
            "13": {
                "id": 13,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Help talk",
                "*": "Diskuse k n\u00e1pov\u011bd\u011b"
            },
            "14": {
                "id": 14,
                "case": "first-letter",
                "canonical": "Category",
                "*": "Kategorie"
            },
            "15": {
                "id": 15,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Category talk",
                "*": "Diskuse ke kategorii"
            }
        },
        "namespacealiases": [
            {
                "id": 2,
                "*": "U\u017eivatelka"
            },
            {
                "id": 3,
                "*": "Diskuse s u\u017eivatelkou"
            },
            {
                "id": 3,
                "*": "U\u017eivatel diskuse"
            },
            {
                "id": 3,
                "*": "U\u017eivatelka diskuse"
            },
            {
                "id": 5,
                "*": "WiKi TF diskuse"
            },
            {
                "id": 6,
                "*": "Image"
            },
            {
                "id": 7,
                "*": "Image talk"
            },
            {
                "id": 7,
                "*": "Soubor diskuse"
            },
            {
                "id": 9,
                "*": "MediaWiki diskuse"
            },
            {
                "id": 11,
                "*": "\u0160ablona diskuse"
            },
            {
                "id": 13,
                "*": "N\u00e1pov\u011bda diskuse"
            },
            {
                "id": 15,
                "*": "Kategorie diskuse"
            }
        ],
        "statistics": {
            "pages": 56,
            "articles": 52,
            "edits": 4750,
            "images": 2,
            "users": 2,
            "activeusers": 0,
            "admins": 1,
            "jobs": 0
        }
    }
}