Résultat de l’API de MediaWiki

Voici la représentation HTML du format JSON. HTML est bien pour le débogage, mais inapproprié pour être utilisé dans une application.

Spécifiez le paramètre format pour modifier le format de sortie. Pour voir la représentation non HTML du format JSON, mettez format=json.

Voir la documentation complète, ou l’ aide de l’API pour plus d’information.

{
    "batchcomplete": "",
    "query": {
        "pages": {
            "-1": {
                "ns": 0,
                "title": "Main Page",
                "missing": ""
            }
        },
        "general": {
            "mainpage": "Accueil",
            "base": "https://wiki1418.yvelines.fr/index.php?title=Accueil",
            "sitename": "Le Wiki de la Grande Guerre",
            "logo": "//wiki1418.yvelines.fr/skins/MonoBook/logo-yvelines.png",
            "generator": "MediaWiki 1.35.5",
            "phpversion": "7.3.33-10+0~20230214.103+debian11~1.gbp88ff76",
            "phpsapi": "fpm-fcgi",
            "dbtype": "mysql",
            "dbversion": "10.5.18-MariaDB-0+deb11u1",
            "langconversion": "",
            "titleconversion": "",
            "linkprefixcharset": "",
            "linkprefix": "",
            "linktrail": "/^([a-z\u00e0\u00e2\u00e7\u00e9\u00e8\u00ea\u00ee\u00f4\u00fb\u00e4\u00eb\u00ef\u00f6\u00fc\u00f9\u00c7\u00c9\u00c2\u00ca\u00ce\u00d4\u00db\u00c4\u00cb\u00cf\u00d6\u00dc\u00c0\u00c8\u00d9]+)(.*)$/sDu",
            "legaltitlechars": " %!\"$&'()*,\\-.\\/0-9:;=?@A-Z\\\\^_`a-z~\\x80-\\xFF+",
            "invalidusernamechars": "@:",
            "fixarabicunicode": "",
            "fixmalayalamunicode": "",
            "git-hash": "8b874ff6c6ed5f209dfd0c825c5b310ef1ecca2f",
            "git-branch": "REL1_35",
            "case": "first-letter",
            "lang": "fr",
            "fallback": [
                {
                    "code": "en"
                }
            ],
            "fallback8bitEncoding": "windows-1252",
            "readonly": "",
            "readonlyreason": "<div style=\"border:2px dashed red; padding:1em; margin:1em; font-size:150%;\">Le wiki de la Grande guerre n\u2019est plus \u00e9ditable pour le moment. Il le sera de nouveau dans quelques mois car il sera int\u00e9gr\u00e9 au nouveau wiki des Archives d\u00e9partementales des Yvelines\u00a0: Le Lab\u2019. Nous nous excusons pour la g\u00eane occasionn\u00e9e.</div>",
            "writeapi": "",
            "maxarticlesize": 2097152,
            "timezone": "Europe/Berlin",
            "timeoffset": 120,
            "articlepath": "/index.php?title=$1",
            "scriptpath": "",
            "script": "/index.php",
            "variantarticlepath": false,
            "server": "//wiki1418.yvelines.fr",
            "servername": "wiki1418.yvelines.fr",
            "wikiid": "cg78_wiki1418_135-cg78",
            "time": "2024-04-28T10:44:35Z",
            "uploadsenabled": "",
            "maxuploadsize": 104857600,
            "minuploadchunksize": 1024,
            "galleryoptions": {
                "imagesPerRow": 0,
                "imageWidth": 120,
                "imageHeight": 120,
                "captionLength": "",
                "showBytes": "",
                "showDimensions": "",
                "mode": "traditional"
            },
            "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": "//wiki1418.yvelines.fr/favicon.ico",
            "centralidlookupprovider": "local",
            "allcentralidlookupproviders": [
                "local"
            ],
            "interwikimagic": "",
            "magiclinks": [],
            "categorycollation": "uppercase",
            "citeresponsivereferences": ""
        }
    }
}