Résultat de l’API de MediaWiki

Voici la représentation HTML du format JSON. HTML est utile 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.

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

{
    "batchcomplete": "",
    "query": {
        "general": {
            "mainpage": "Accueil",
            "base": "http://cppouest1.fr/mediawiki/index.php?title=Accueil",
            "sitename": "CPP Ouest-1",
            "logo": "http://cppouest1.fr/mediawiki/images/CPP4.png",
            "generator": "MediaWiki 1.26.2",
            "phpversion": "5.4.45",
            "phpsapi": "fpm-fcgi",
            "dbtype": "mysql",
            "dbversion": "8.0.39-30",
            "imagewhitelistenabled": "",
            "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": "@:",
            "case": "first-letter",
            "lang": "fr",
            "fallback": [
                {
                    "code": "en"
                }
            ],
            "fallback8bitEncoding": "windows-1252",
            "writeapi": "",
            "timezone": "Europe/Paris",
            "timeoffset": 60,
            "articlepath": "/mediawiki/index.php?title=$1",
            "scriptpath": "/mediawiki",
            "script": "/mediawiki/index.php",
            "variantarticlepath": false,
            "server": "http://cppouest1.fr",
            "servername": "cppouest1.fr",
            "wikiid": "cppouestfzpb-SMW_",
            "time": "2024-11-24T03:29:50Z",
            "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://cppouest1.fr/home/cppouestfz/www/mediawiki/images/cpp.favicon.png"
        },
        "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",
                "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",
                "*": "CPP Ouest-1"
            },
            "5": {
                "id": 5,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Project talk",
                "*": "Discussion CPP Ouest-1"
            },
            "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",
                "*": "MediaWiki"
            },
            "9": {
                "id": 9,
                "case": "first-letter",
                "subpages": "",
                "canonical": "MediaWiki talk",
                "*": "Discussion MediaWiki"
            },
            "10": {
                "id": 10,
                "case": "first-letter",
                "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"
            },
            "102": {
                "id": 102,
                "case": "first-letter",
                "canonical": "Attribut",
                "*": "Attribut"
            },
            "103": {
                "id": 103,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Discussion attribut",
                "*": "Discussion attribut"
            },
            "104": {
                "id": 104,
                "case": "first-letter",
                "canonical": "Type",
                "*": "Type"
            },
            "105": {
                "id": 105,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Type talk",
                "*": "Type talk"
            },
            "106": {
                "id": 106,
                "case": "first-letter",
                "canonical": "Form",
                "*": "Formulaire"
            },
            "107": {
                "id": 107,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Form talk",
                "*": "Discussion formulaire"
            },
            "108": {
                "id": 108,
                "case": "first-letter",
                "canonical": "Concept",
                "*": "Concept"
            },
            "109": {
                "id": 109,
                "case": "first-letter",
                "canonical": "Discussion concept",
                "*": "Discussion concept"
            },
            "274": {
                "id": 274,
                "case": "first-letter",
                "canonical": "Widget",
                "*": "Widget"
            },
            "275": {
                "id": 275,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Widget talk",
                "*": "Widget talk"
            }
        },
        "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"
            },
            {
                "id": 102,
                "*": "Property"
            },
            {
                "id": 103,
                "*": "Property talk"
            },
            {
                "id": 109,
                "*": "Concept talk"
            }
        ],
        "statistics": {
            "pages": 526,
            "articles": 9,
            "edits": 1419,
            "images": 36,
            "users": 48,
            "activeusers": 2,
            "admins": 1,
            "jobs": 267
        }
    }
}