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": "Acu\u00e8lh",
            "base": "http://oc.uncyclopedia.info/wiki/Acu%C3%A8lh",
            "sitename": "Oisquip\u00e8dia",
            "logo": "//images.uncyc.org/oc/b/bc/Wiki.png",
            "generator": "MediaWiki 1.31.1",
            "phpversion": "7.2.10-0ubuntu0.18.04.1",
            "phpsapi": "apache2handler",
            "dbtype": "mysql",
            "dbversion": "10.1.34-MariaDB-0ubuntu0.18.04.1",
            "imagewhitelistenabled": "",
            "langconversion": "",
            "titleconversion": "",
            "linkprefixcharset": "",
            "linkprefix": "",
            "linktrail": "/^([a-z\u00e0\u00e2\u00e7\u00e9\u00e8\u00ea\u00ee\u00f4\u00fb]+)(.*)$/sDu",
            "legaltitlechars": " %!\"$&'()*,\\-.\\/0-9:;[email protected]\\\\^_`a-z~\\x80-\\xFF+",
            "invalidusernamechars": "@:",
            "fixarabicunicode": "",
            "fixmalayalamunicode": "",
            "case": "first-letter",
            "lang": "oc",
            "fallback": [
                {
                    "code": "ca"
                },
                {
                    "code": "fr"
                },
                {
                    "code": "en"
                }
            ],
            "fallback8bitEncoding": "windows-1252",
            "writeapi": "",
            "maxarticlesize": 2097152,
            "timezone": "UTC",
            "timeoffset": 0,
            "articlepath": "/wiki/$1",
            "scriptpath": "",
            "script": "/index.php",
            "variantarticlepath": false,
            "server": "//oc.uncyclopedia.info",
            "servername": "oc.uncyclopedia.info",
            "wikiid": "uncyc_oc",
            "time": "2018-12-12T01:13:45Z",
            "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": "//images.uncyc.org/oc/6/64/Favicon.ico",
            "centralidlookupprovider": "local",
            "allcentralidlookupproviders": [
                "local"
            ],
            "interwikimagic": "",
            "magiclinks": [],
            "categorycollation": "uppercase",
            "citeresponsivereferences": "",
            "mobileserver": "https://m.oc.uncyclopedia.info"
        },
        "namespaces": {
            "-2": {
                "id": -2,
                "case": "first-letter",
                "canonical": "Media",
                "*": "M\u00e8dia"
            },
            "-1": {
                "id": -1,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Special",
                "*": "Especial"
            },
            "0": {
                "id": 0,
                "case": "first-letter",
                "content": "",
                "*": ""
            },
            "1": {
                "id": 1,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Talk",
                "*": "Discutir"
            },
            "2": {
                "id": 2,
                "case": "first-letter",
                "subpages": "",
                "canonical": "User",
                "*": "Utilizaire"
            },
            "3": {
                "id": 3,
                "case": "first-letter",
                "subpages": "",
                "canonical": "User talk",
                "*": "Discussion Utilizaire"
            },
            "4": {
                "id": 4,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Project",
                "*": "Oisquip\u00e8dia"
            },
            "5": {
                "id": 5,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Project talk",
                "*": "Discussion Oisquip\u00e8dia"
            },
            "6": {
                "id": 6,
                "case": "first-letter",
                "canonical": "File",
                "*": "Fichi\u00e8r"
            },
            "7": {
                "id": 7,
                "case": "first-letter",
                "subpages": "",
                "canonical": "File talk",
                "*": "Discussion Fichi\u00e8r"
            },
            "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",
                "subpages": "",
                "canonical": "Template",
                "*": "Mod\u00e8l"
            },
            "11": {
                "id": 11,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Template talk",
                "*": "Discussion Mod\u00e8l"
            },
            "12": {
                "id": 12,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Help",
                "*": "Ajuda"
            },
            "13": {
                "id": 13,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Help talk",
                "*": "Discussion Ajuda"
            },
            "14": {
                "id": 14,
                "case": "first-letter",
                "canonical": "Category",
                "*": "Categoria"
            },
            "15": {
                "id": 15,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Category talk",
                "*": "Discussion Categoria"
            },
            "110": {
                "id": 110,
                "case": "first-letter",
                "canonical": "Forum",
                "*": "Forum"
            },
            "111": {
                "id": 111,
                "case": "first-letter",
                "canonical": "Forum talk",
                "*": "Forum talk"
            },
            "710": {
                "id": 710,
                "case": "first-letter",
                "canonical": "TimedText",
                "*": "TimedText"
            },
            "711": {
                "id": 711,
                "case": "first-letter",
                "canonical": "TimedText talk",
                "*": "TimedText talk"
            },
            "828": {
                "id": 828,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Module",
                "*": "M\u00f2dul"
            },
            "829": {
                "id": 829,
                "case": "first-letter",
                "subpages": "",
                "canonical": "Module talk",
                "*": "M\u00f2dul Discussi\u00f3"
            },
            "2300": {
                "id": 2300,
                "case": "first-letter",
                "canonical": "Gadget",
                "*": "Gadget"
            },
            "2301": {
                "id": 2301,
                "case": "first-letter",
                "canonical": "Gadget talk",
                "*": "Discussion gadget"
            },
            "2302": {
                "id": 2302,
                "case": "case-sensitive",
                "canonical": "Gadget definition",
                "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,
                "*": "Utilisator"
            },
            {
                "id": 3,
                "*": "Discussion Utilisateur"
            },
            {
                "id": 3,
                "*": "Discussion Utilisator"
            },
            {
                "id": 3,
                "*": "Discutida Utilisator"
            },
            {
                "id": 6,
                "*": "Image"
            },
            {
                "id": 6,
                "*": "Imatge"
            },
            {
                "id": 7,
                "*": "Discussion Fichier"
            },
            {
                "id": 7,
                "*": "Discussion Image"
            },
            {
                "id": 7,
                "*": "Discussion Imatge"
            },
            {
                "id": 7,
                "*": "Discutida Imatge"
            },
            {
                "id": 7,
                "*": "Image talk"
            },
            {
                "id": 7,
                "*": "Imatge Discussi\u00f3"
            },
            {
                "id": 8,
                "*": "Media\u00f2iqui"
            },
            {
                "id": 9,
                "*": "Discussion Media\u00f2iqui"
            },
            {
                "id": 9,
                "*": "Discutida Media\u00f2iqui"
            },
            {
                "id": 11,
                "*": "Discussion Mod\u00e8le"
            },
            {
                "id": 11,
                "*": "Discutida Mod\u00e8l"
            },
            {
                "id": 13,
                "*": "Discussion Aide"
            },
            {
                "id": 13,
                "*": "Discutida Ajuda"
            },
            {
                "id": 15,
                "*": "Discussion Cat\u00e9gorie"
            },
            {
                "id": 15,
                "*": "Discutida Categoria"
            }
        ],
        "statistics": {
            "pages": 268,
            "articles": 34,
            "edits": 675,
            "images": 121,
            "users": 15,
            "activeusers": 3,
            "admins": 5,
            "jobs": 0,
            "queued-massmessages": 0
        }
    }
}