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://blok.tydyt.cz/index.php/Hlavn%C3%AD_strana",
            "sitename": "Pozn\u00e1mkov\u00fd blok",
            "logo": "http://blok.tydyt.cz/resources/assets/slapnet.jpg",
            "generator": "MediaWiki 1.28.0",
            "phpversion": "5.6.30-0+deb8u1",
            "phpsapi": "apache2handler",
            "dbtype": "mysql",
            "dbversion": "5.5.57-0+deb8u1",
            "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": "@:",
            "fixarabicunicode": "",
            "fixmalayalamunicode": "",
            "case": "first-letter",
            "lang": "cs",
            "fallback": [
                {
                    "code": "sk"
                },
                {
                    "code": "en"
                }
            ],
            "fallback8bitEncoding": "cp1250",
            "writeapi": "",
            "maxarticlesize": 2097152,
            "timezone": "Europe/Prague",
            "timeoffset": 60,
            "articlepath": "/index.php/$1",
            "scriptpath": "",
            "script": "/index.php",
            "variantarticlepath": false,
            "server": "http://blok.tydyt.cz",
            "servername": "blok.tydyt.cz",
            "wikiid": "wiki_db",
            "time": "2024-11-24T02:36:48Z",
            "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://blok.tydyt.cz/favicon.ico",
            "centralidlookupprovider": "local",
            "allcentralidlookupproviders": [
                "local"
            ],
            "interwikimagic": "",
            "magiclinks": []
        },
        "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",
                "*": "Tyd\u00fdtovy pozn\u00e1mky"
            },
            "5": {
                "id": 5,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Project talk",
                "*": "Diskuse k Tyd\u00fdtovy pozn\u00e1mky"
            },
            "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": 1,
                "*": "Koment\u00e1r"
            },
            {
                "id": 2,
                "*": "Redaktor"
            },
            {
                "id": 2,
                "*": "U\u017eivatelka"
            },
            {
                "id": 3,
                "*": "Diskuse s u\u017eivatelkou"
            },
            {
                "id": 3,
                "*": "Diskusia s redaktorom"
            },
            {
                "id": 3,
                "*": "Koment\u00e1r k redaktorovi"
            },
            {
                "id": 3,
                "*": "U\u017eivatel diskuse"
            },
            {
                "id": 3,
                "*": "U\u017eivatelka diskuse"
            },
            {
                "id": 5,
                "*": "Koment\u00e1r k Wikip\u00e9dii"
            },
            {
                "id": 5,
                "*": "Tyd\u00fdtovy pozn\u00e1mky diskuse"
            },
            {
                "id": 6,
                "*": "Image"
            },
            {
                "id": 6,
                "*": "Obr\u00e1zok"
            },
            {
                "id": 7,
                "*": "Diskusia k obr\u00e1zku"
            },
            {
                "id": 7,
                "*": "Image talk"
            },
            {
                "id": 7,
                "*": "Koment\u00e1r k obr\u00e1zku"
            },
            {
                "id": 7,
                "*": "Soubor diskuse"
            },
            {
                "id": 9,
                "*": "Koment\u00e1r k MediaWiki"
            },
            {
                "id": 9,
                "*": "MediaWiki diskuse"
            },
            {
                "id": 11,
                "*": "\u0160ablona diskuse"
            },
            {
                "id": 13,
                "*": "N\u00e1pov\u011bda diskuse"
            },
            {
                "id": 15,
                "*": "Kategorie diskuse"
            }
        ],
        "statistics": {
            "pages": 177,
            "articles": 57,
            "edits": 2611,
            "images": 78,
            "users": 1,
            "activeusers": -1,
            "admins": 1,
            "jobs": 0
        }
    }
}