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": {
        "pages": {
            "-1": {
                "ns": 0,
                "title": "API",
                "missing": ""
            },
            "40": {
                "pageid": 40,
                "ns": 0,
                "title": "Main Page",
                "revisions": [
                    {
                        "user": "Kghbln",
                        "timestamp": "2022-10-26T15:29:23Z",
                        "slots": {
                            "main": {
                                "contentmodel": "wikitext",
                                "contentformat": "text/x-wiki",
                                "*": "{{Welcome}}\n<div style=\"position:relative; margin: 15px 0 0.5em 1em; border-collapse: collapse; background: #fff; float: right; clear: right; width: 250px; \">\n<div>\n{{Video\n |provider=YouTube\n |description=Semantic MediaWiki for Beginners\n |id=1CaNJLsAI2A\n |type=Tutorial video\n}}\n</div>\n<div>\n{{Video\n |provider=YouTube\n |description=Semantic MediaWiki for Beginners\n |id=N5rlX9yCqDo\n |type=Tutorial video\n}}\n</div>\n</div>\n== How to create a quality example? ==\nIf you have encountered an issue and you would like to make that observation public to other participants then please have a look at the help page on \"[[How to create a quality example]]\".\n\n== Localization and multilingual content ==\nThis wiki uses \"French\" as its global [https://www.semantic-mediawiki.org/wiki/Content,_page_and_user_language content language] (site language) for the purpose of testing different solutions in connection with [https://www.semantic-mediawiki.org/wiki/Localization_and_multilingual_content localization and multilingual content] aspects.\n\nIf you are adding examples where numbers contain <code>.</code> as decimal yet French expects <code>,</code> as separator, the simple solution is to let the individual page know that you are writing in English (or any other language, see the [[Berlin]] page for more information on how to change the page content language). \n\n== Sample pages ==\n* '''{{#ask: [[Category:Main Page sample pages|+depth=0]] }}''' demonstrate the usage of in-text annotations for most user-defined properties. \n* '''[[John Doe]]''' shows to usage of imported vocabularies. \n* [[Export]] collects pages that can be exported via [[Special:Export]]\n\n=== Extension related examples and tutorials ===\n* [[:Category:Examples]]\n* [[:Category:Tutorials]]\n\n== Sandbox provided user-defined properties ==\n{{#ask:\n [[Property:+]]\n [[Category:Lorem ipsum]]\n |?Has property description=Description |+lang=en\n |?Has type=Datatype\n |mainlabel=Property\n |format=broadtable\n |class=smwtable-clean sortable\n}}\n\n== Sandbox provided user-defined fixed properties ==\n{{#ask:\n [[Property:+]]\n [[Category:Fixed property]]\n |?Has property description=Description |+lang=en\n |?Has type=Datatype\n |mainlabel=Property\n |format=broadtable\n |class=smwtable-clean sortable\n}}\n\n== Sandbox provided imported vocabulary ==\n{{#ask:\n [[Property:+]]\n [[Category:Imported vocabulary]]\n |?Has property description=Description |+lang=en\n |?Has type=Datatype\n |mainlabel=Property\n |format=broadtable\n |class=smwtable-clean sortable\n}}\n\n[[Category:Sandbox]]\n__SHOWFACTBOX__ {{Nobreadcrumblinks}}"
                            }
                        },
                        "comment": "Remplacement de texte\u202f: \u00ab\u202f__NOBREADCRUMBLINKS__\u202f\u00bb par \u00ab\u202f{{Nobreadcrumblinks}}\u202f\u00bb"
                    }
                ]
            }
        }
    }
}