MediaWiki-API-Ergebnis

Dies ist die HTML-Repräsentation des JSON-Formats. HTML ist zur Fehlerbehebung gut, aber unpassend für den Anwendungsgebrauch.

Gib den Parameter format an, um das Ausgabeformat zu ändern. Um die Nicht-HTML-Repräsentation des JSON-Formats anzusehen, lege format=json fest.

Siehe die vollständige Dokumentation oder die API-Hilfe für weitere Informationen.

{
    "batchcomplete": "",
    "query": {
        "general": {
            "mainpage": "Hauptseite",
            "base": "https://kingwiki.de/index.php/Hauptseite",
            "sitename": "KingWiki",
            "logo": "https://kingwiki.de/skins/common/images/kingwiki.gif",
            "generator": "MediaWiki 1.26.2",
            "phpversion": "7.4.33",
            "phpsapi": "apache2handler",
            "dbtype": "mysql",
            "dbversion": "10.6.18-MariaDB",
            "imagewhitelistenabled": "",
            "langconversion": "",
            "titleconversion": "",
            "linkprefixcharset": "",
            "linkprefix": "",
            "linktrail": "/^([\u00e4\u00f6\u00fc\u00dfa-z]+)(.*)$/sDu",
            "legaltitlechars": " %!\"$&'()*,\\-.\\/0-9:;=?@A-Z\\\\^_`a-z~\\x80-\\xFF+",
            "invalidusernamechars": "@:",
            "case": "first-letter",
            "lang": "de",
            "fallback": [
                {
                    "code": "en"
                }
            ],
            "fallback8bitEncoding": "windows-1252",
            "writeapi": "",
            "timezone": "CET",
            "timeoffset": 60,
            "articlepath": "/index.php/$1",
            "scriptpath": "",
            "script": "/index.php",
            "variantarticlepath": false,
            "server": "https://kingwiki.de",
            "servername": "kingwiki.de",
            "wikiid": "wiki",
            "time": "2024-11-24T10:17:39Z",
            "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": "https://kingwiki.de/favicon.ico"
        },
        "namespaces": {
            "-2": {
                "id": -2,
                "case": "first-letter",
                "canonical": "Media",
                "*": "Medium"
            },
            "-1": {
                "id": -1,
                "case": "first-letter",
                "canonical": "Special",
                "*": "Spezial"
            },
            "0": {
                "id": 0,
                "case": "first-letter",
                "content": "",
                "*": ""
            },
            "1": {
                "id": 1,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Talk",
                "*": "Diskussion"
            },
            "2": {
                "id": 2,
                "case": "first-letter",
                "subpages": "",
                "canonical": "User",
                "*": "Benutzer"
            },
            "3": {
                "id": 3,
                "case": "first-letter",
                "subpages": "",
                "canonical": "User talk",
                "*": "Benutzer Diskussion"
            },
            "4": {
                "id": 4,
                "case": "first-letter",
                "canonical": "Project",
                "*": "KingWiki"
            },
            "5": {
                "id": 5,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Project talk",
                "*": "KingWiki Diskussion"
            },
            "6": {
                "id": 6,
                "case": "first-letter",
                "canonical": "File",
                "*": "Datei"
            },
            "7": {
                "id": 7,
                "case": "first-letter",
                "subpages": "",
                "canonical": "File talk",
                "*": "Datei Diskussion"
            },
            "8": {
                "id": 8,
                "case": "first-letter",
                "canonical": "MediaWiki",
                "*": "MediaWiki"
            },
            "9": {
                "id": 9,
                "case": "first-letter",
                "subpages": "",
                "canonical": "MediaWiki talk",
                "*": "MediaWiki Diskussion"
            },
            "10": {
                "id": 10,
                "case": "first-letter",
                "canonical": "Template",
                "*": "Vorlage"
            },
            "11": {
                "id": 11,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Template talk",
                "*": "Vorlage Diskussion"
            },
            "12": {
                "id": 12,
                "case": "first-letter",
                "canonical": "Help",
                "*": "Hilfe"
            },
            "13": {
                "id": 13,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Help talk",
                "*": "Hilfe Diskussion"
            },
            "14": {
                "id": 14,
                "case": "first-letter",
                "canonical": "Category",
                "*": "Kategorie"
            },
            "15": {
                "id": 15,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Category talk",
                "*": "Kategorie Diskussion"
            },
            "100": {
                "id": 100,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Portal",
                "*": "Portal"
            },
            "101": {
                "id": 101,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Portal Diskussion",
                "*": "Portal Diskussion"
            }
        },
        "namespacealiases": [
            {
                "id": 2,
                "*": "Benutzerin"
            },
            {
                "id": 3,
                "*": "Benutzerin Diskussion"
            },
            {
                "id": 6,
                "*": "Bild"
            },
            {
                "id": 6,
                "*": "Image"
            },
            {
                "id": 7,
                "*": "Bild Diskussion"
            },
            {
                "id": 7,
                "*": "Image talk"
            }
        ],
        "statistics": {
            "pages": 26221,
            "articles": 14987,
            "edits": 137301,
            "images": 5920,
            "users": 1274,
            "activeusers": 1,
            "admins": 3,
            "jobs": 25389
        }
    }
}