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": {
        "searchinfo": {
            "totalhits": 2
        },
        "search": [
            {
                "ns": 0,
                "title": "Mod\u00e8les",
                "snippet": "...c., versus [[..]] or [[..|..]], with the pipe character having a different <span class='searchmatch'>meaning</span>\n...s. If unnamed parameters are used, one does to have to plan in advance the <span class='searchmatch'>meaning</span> of the new parameters.\n",
                "size": 60401,
                "wordcount": 10001,
                "timestamp": "2011-01-18T13:34:00Z"
            },
            {
                "ns": 0,
                "title": "Recension des oeuvres du P. Reg. Garrigou-Lagrange",
                "snippet": "# ''The <span class='searchmatch'>meaning</span> of the Rosary''. Doctrine and life, II, 1952, pp. 227-233.\n",
                "size": 99419,
                "wordcount": 15197,
                "timestamp": "2013-02-14T22:47:40Z"
            }
        ]
    }
}