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": {
        "general": {
            "mainpage": "Accueil",
            "base": "https://wiki.halo.fr/Accueil",
            "sitename": "WikiHalo",
            "logo": "https://www.halo.fr/wp-content/themes/halofr2015/img/logo.png",
            "generator": "MediaWiki 1.36.1",
            "phpversion": "7.4.33",
            "phpsapi": "fpm-fcgi",
            "dbtype": "mysql",
            "dbversion": "10.11.6-MariaDB-0+deb12u1-log",
            "langconversion": "",
            "linkconversion": "",
            "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": "",
            "case": "first-letter",
            "lang": "fr",
            "fallback": [
                {
                    "code": "en"
                }
            ],
            "fallback8bitEncoding": "windows-1252",
            "writeapi": "",
            "maxarticlesize": 2097152,
            "timezone": "Europe/Paris",
            "timeoffset": 60,
            "articlepath": "/$1",
            "scriptpath": "",
            "script": "/index.php",
            "variantarticlepath": false,
            "server": "https://wiki.halo.fr",
            "servername": "wiki.halo.fr",
            "wikiid": "wiki2-wiki_",
            "time": "2024-11-21T21:05:08Z",
            "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
                },
                {
                    "width": 2560,
                    "height": 2048
                }
            ],
            "favicon": "Favicon.ico",
            "centralidlookupprovider": "local",
            "allcentralidlookupproviders": [
                "local"
            ],
            "interwikimagic": "",
            "magiclinks": [],
            "categorycollation": "uppercase",
            "citeresponsivereferences": ""
        },
        "namespaces": {
            "-2": {
                "id": -2,
                "case": "first-letter",
                "canonical": "Media",
                "*": "M\u00e9dia"
            },
            "-1": {
                "id": -1,
                "case": "first-letter",
                "canonical": "Special",
                "*": "Sp\u00e9cial"
            },
            "0": {
                "id": 0,
                "case": "first-letter",
                "subpages": "",
                "content": "",
                "*": ""
            },
            "1": {
                "id": 1,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Talk",
                "*": "Discussion"
            },
            "2": {
                "id": 2,
                "case": "first-letter",
                "subpages": "",
                "canonical": "User",
                "*": "Utilisateur"
            },
            "3": {
                "id": 3,
                "case": "first-letter",
                "subpages": "",
                "canonical": "User talk",
                "*": "Discussion utilisateur"
            },
            "4": {
                "id": 4,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Project",
                "*": "WikiHalo"
            },
            "5": {
                "id": 5,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Project talk",
                "*": "Discussion WikiHalo"
            },
            "6": {
                "id": 6,
                "case": "first-letter",
                "canonical": "File",
                "*": "Fichier"
            },
            "7": {
                "id": 7,
                "case": "first-letter",
                "subpages": "",
                "canonical": "File talk",
                "*": "Discussion fichier"
            },
            "8": {
                "id": 8,
                "case": "first-letter",
                "subpages": "",
                "canonical": "MediaWiki",
                "namespaceprotection": "editinterface",
                "*": "MediaWiki"
            },
            "9": {
                "id": 9,
                "case": "first-letter",
                "subpages": "",
                "canonical": "MediaWiki talk",
                "*": "Discussion MediaWiki"
            },
            "10": {
                "id": 10,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Template",
                "*": "Mod\u00e8le"
            },
            "11": {
                "id": 11,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Template talk",
                "*": "Discussion mod\u00e8le"
            },
            "12": {
                "id": 12,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Help",
                "*": "Aide"
            },
            "13": {
                "id": 13,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Help talk",
                "*": "Discussion aide"
            },
            "14": {
                "id": 14,
                "case": "first-letter",
                "canonical": "Category",
                "*": "Cat\u00e9gorie"
            },
            "15": {
                "id": 15,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Category talk",
                "*": "Discussion cat\u00e9gorie"
            },
            "100": {
                "id": 100,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Halobabies",
                "namespaceprotection": "editHalobabies",
                "*": "Halobabies"
            },
            "101": {
                "id": 101,
                "case": "first-letter",
                "canonical": "Discussion Halobabies",
                "*": "Discussion Halobabies"
            },
            "102": {
                "id": 102,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Wikiupdate",
                "namespaceprotection": "editWikiupdate",
                "*": "Wikiupdate"
            },
            "103": {
                "id": 103,
                "case": "first-letter",
                "canonical": "Discussion Wikiupdate",
                "*": "Discussion Wikiupdate"
            },
            "200": {
                "id": 200,
                "case": "first-letter",
                "canonical": "Chronique",
                "*": "Chronique"
            },
            "201": {
                "id": 201,
                "case": "first-letter",
                "canonical": "Discussion chronique",
                "*": "Discussion chronique"
            },
            "300": {
                "id": 300,
                "case": "first-letter",
                "canonical": "Projet",
                "*": "Projet"
            },
            "301": {
                "id": 301,
                "case": "first-letter",
                "canonical": "Discussion projet",
                "*": "Discussion projet"
            },
            "2300": {
                "id": 2300,
                "case": "first-letter",
                "canonical": "Gadget",
                "namespaceprotection": "gadgets-edit",
                "*": "Gadget"
            },
            "2301": {
                "id": 2301,
                "case": "first-letter",
                "canonical": "Gadget talk",
                "*": "Discussion gadget"
            },
            "2302": {
                "id": 2302,
                "case": "case-sensitive",
                "canonical": "Gadget definition",
                "namespaceprotection": "gadgets-definition-edit",
                "defaultcontentmodel": "GadgetDefinition",
                "*": "D\u00e9finition de gadget"
            },
            "2303": {
                "id": 2303,
                "case": "case-sensitive",
                "canonical": "Gadget definition talk",
                "*": "Discussion d\u00e9finition de gadget"
            }
        },
        "namespacealiases": [
            {
                "id": 1,
                "*": "Discuter"
            },
            {
                "id": 2,
                "*": "Utilisatrice"
            },
            {
                "id": 3,
                "*": "Discussion Utilisateur"
            },
            {
                "id": 3,
                "*": "Discussion utilisatrice"
            },
            {
                "id": 6,
                "*": "Image"
            },
            {
                "id": 7,
                "*": "Discussion Fichier"
            },
            {
                "id": 7,
                "*": "Discussion Image"
            },
            {
                "id": 7,
                "*": "Image talk"
            },
            {
                "id": 11,
                "*": "Discussion Mod\u00e8le"
            },
            {
                "id": 13,
                "*": "Discussion Aide"
            },
            {
                "id": 15,
                "*": "Discussion Cat\u00e9gorie"
            }
        ],
        "statistics": {
            "pages": 63909,
            "articles": 8598,
            "edits": 348227,
            "images": 47046,
            "users": 1773,
            "activeusers": 15,
            "admins": 5,
            "jobs": 0
        }
    }
}