Résultat de l’API de MediaWiki

Voici la représentation HTML du format JSON. HTML convient au débogage, mais est 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’informations.

{
    "batchcomplete": "",
    "query": {
        "searchinfo": {
            "totalhits": 5
        },
        "search": [
            {
                "ns": 0,
                "title": "Oainn\u00e1hus",
                "pageid": 3083,
                "size": 858,
                "wordcount": 6,
                "snippet": "Sight (N) Syn (N) Visjon (N)",
                "timestamp": "2018-04-11T11:15:06Z"
            },
            {
                "ns": 0,
                "title": "Semantic Cite (SCI) 2.0.0 released",
                "pageid": 15378,
                "size": 791,
                "wordcount": 120,
                "snippet": "extension. [0] This release brings support for extension registration mechanism <span class=\"searchmatch\">meaning</span> that you will now have to invoke it by adding 'wfLoadExtension( 'SemanticCite'",
                "timestamp": "2020-05-16T14:37:52Z"
            },
            {
                "ns": 0,
                "title": "Issue/2499",
                "pageid": 2506,
                "size": 4302,
                "wordcount": 55,
                "snippet": "linked and referenced therefore matching a distinct entity is required, <span class=\"searchmatch\">meaning</span> to match exactly [[Page::some title with a value]] {{#ask: [[Category:2499]]",
                "timestamp": "2018-03-24T15:57:27Z"
            },
            {
                "ns": 0,
                "title": "Semantic Scribunto example",
                "pageid": 1132,
                "size": 18426,
                "wordcount": 1788,
                "snippet": "only contain a few text lines and one #invoke-call. Expanding classes (<span class=\"searchmatch\">meaning</span> adding more parameters) would automatically adapt the form, no need for",
                "timestamp": "2017-03-07T15:56:48Z"
            },
            {
                "ns": 0,
                "title": "LongText",
                "pageid": 1401,
                "size": 35915,
                "wordcount": 6210,
                "snippet": "inconsistencies occur than now, when the paths of speculation are well worn and the <span class=\"searchmatch\">meaning</span> of words precisely defined. For consistency, too, is the growth of time;",
                "timestamp": "2016-09-14T00:55:11Z"
            }
        ]
    }
}