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://www.schlafhacking.de/wiki/index.php/Hauptseite",
            "sitename": "Schlafhacking",
            "logo": "https://www.schlafhacking.de/wiki/skins/common/images/wiki.png",
            "generator": "MediaWiki 1.26.3",
            "phpversion": "8.0.30",
            "phpsapi": "apache2handler",
            "dbtype": "mysql",
            "dbversion": "10.6.18-MariaDB-log",
            "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": "UTC",
            "timeoffset": 0,
            "articlepath": "/wiki/index.php/$1",
            "scriptpath": "/wiki",
            "script": "/wiki/index.php",
            "variantarticlepath": false,
            "server": "https://www.schlafhacking.de",
            "servername": "www.schlafhacking.de",
            "wikiid": "wikineu",
            "time": "2024-12-29T07:17:24Z",
            "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://www.schlafhacking.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",
                "subpages": "",
                "canonical": "Project",
                "*": "Schlafhacking"
            },
            "5": {
                "id": 5,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Project talk",
                "*": "Schlafhacking 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",
                "subpages": "",
                "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",
                "subpages": "",
                "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"
            }
        },
        "namespacealiases": [
            {
                "id": 2,
                "*": "Benutzerin"
            },
            {
                "id": 3,
                "*": "Benutzerin Diskussion"
            },
            {
                "id": 6,
                "*": "Bild"
            },
            {
                "id": 6,
                "*": "Image"
            },
            {
                "id": 7,
                "*": "Bild Diskussion"
            },
            {
                "id": 7,
                "*": "Image talk"
            }
        ],
        "statistics": {
            "pages": 28,
            "articles": 3,
            "edits": 75,
            "images": 0,
            "users": 1,
            "activeusers": 0,
            "admins": 1,
            "jobs": 0
        }
    }
}