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.obecniknihovna.cz/index.php/Hlavn%C3%AD_strana",
            "sitename": "wiki.obecniknihovna.cz",
            "logo": "http://wiki.obecniknihovna.cz/resources/assets/wiki.png",
            "generator": "MediaWiki 1.26.2",
            "phpversion": "5.5.9-1ubuntu4.29",
            "phpsapi": "apache2handler",
            "dbtype": "mysql",
            "dbversion": "5.5.62-0ubuntu0.14.04.1-log",
            "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": "Europe/Berlin",
            "timeoffset": 60,
            "articlepath": "/index.php/$1",
            "scriptpath": "",
            "script": "/index.php",
            "variantarticlepath": false,
            "server": "http://wiki.obecniknihovna.cz",
            "servername": "wiki.obecniknihovna.cz",
            "wikiid": "wiki1",
            "time": "2024-11-23T18:25:37Z",
            "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.obecniknihovna.cz/favicon.ico"
        },
        "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.obecniknihovna.cz"
            },
            "5": {
                "id": 5,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Project talk",
                "*": "Diskuse k Wiki.obecniknihovna.cz"
            },
            "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"
            },
            "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",
                "*": "Gadget definition"
            },
            "2303": {
                "id": 2303,
                "case": "case-sensitive",
                "canonical": "Gadget definition talk",
                "*": "Gadget definition talk"
            }
        },
        "namespacealiases": [
            {
                "id": 2,
                "*": "U\u017eivatelka"
            },
            {
                "id": 3,
                "*": "Diskuse s u\u017eivatelkou"
            },
            {
                "id": 3,
                "*": "U\u017eivatel diskuse"
            },
            {
                "id": 3,
                "*": "U\u017eivatelka diskuse"
            },
            {
                "id": 5,
                "*": "Wiki.obecniknihovna.cz 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": 147,
            "articles": 9,
            "edits": 494,
            "images": 109,
            "users": 2,
            "activeusers": 0,
            "admins": 1,
            "jobs": 0
        }
    }
}