MediaWiki-API-Ergebnis

This is the HTML representation of the JSON format. HTML is good for debugging, but is unsuitable for application use.

Specify the format parameter to change the output format. To see the non-HTML representation of the JSON format, set format=json.

See the complete documentation, or the API help for more information.

{
    "batchcomplete": "",
    "continue": {
        "gapcontinue": "Repair-Caf\u00e9",
        "continue": "gapcontinue||"
    },
    "warnings": {
        "main": {
            "*": "Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/postorius/lists/mediawiki-api-announce.lists.wikimedia.org/> for notice of API deprecations and breaking changes."
        },
        "revisions": {
            "*": "Because \"rvslots\" was not specified, a legacy format has been used for the output. This format is deprecated, and in the future the new format will always be used."
        }
    },
    "query": {
        "pages": {
            "1966": {
                "pageid": 1966,
                "ns": 0,
                "title": "Recurring events",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "== Example data ==\n<pre>\n{{#set_recurring_event:some            \n |property=has date          \n |Has page=Recurring events\n |Has text=Simple recurring events text\n |start=June 8, 2010                                     \n |unit=week                             \n |period=1             \n |limit=10      \n |duration=7200\n |include=March 16, 2010;March 23, 2010|+sep=;\n |exclude=March 15, 2010;March 22, 2010|+sep=;\n}}\n</pre>\n{{#set_recurring_event:some            \n |property=has date          \n |Has page=Recurring events\n |Has text=Simple recurring events text\n |start=June 8, 2010                                     \n |unit=week                             \n |period=1             \n |limit=10      \n |duration=7200\n |include=March 16, 2010;March 23, 2010|+sep=;\n |exclude=March 15, 2010;March 22, 2010|+sep=;\n}}\n\n== Example query ==\n=== broadtable ===\n<pre>\n{{#ask:\n[[Has page::Recurring events]]\n |?Has date\n |limit=5\n |format=broadtable\n}}\n</pre>\n{{#ask:\n[[Has page::Recurring events]]\n |?Has date\n |limit=5\n |format=broadtable\n}}\nor\n<pre>\n{{#ask:\n[[Has page::Recurring events]]\n |?Has date#ISO\n |limit=5\n |format=broadtable\n}}\n</pre>\n{{#ask:\n[[Has page::Recurring events]]\n |?Has date#ISO\n |limit=5\n |format=broadtable\n}}\n\n=== eventcalendar ===\nIn case the <code>format=eventcalendar</code> is available then the results will be as displayed as calendar otherwise a simple table is used.\n<pre>\n{{#ask:\n[[Has page::Recurring events]]\n |?Has text\n |?Has date\n |limit=5\n |format=eventcalendar\n |start=latest\n}}\n</pre>\n{{#ask:\n [[Has page::Recurring events]]\n |?Has text\n |?Has date\n |limit=5\n |format=eventcalendar\n |start=latest\n}}\n\n[[Category:Sample pages]]\n[[Category:Main Page sample pages]]\n[[Category:Semantic MediaWiki example]]\n[[Category:Semantic Result Formats example]]"
                    }
                ]
            },
            "1988": {
                "pageid": 1988,
                "ns": 0,
                "title": "Regelm\u00e4\u00dfige Termine",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "Alle regelm\u00e4\u00dfigen Termine:\n{{#ask:\n [[Hat Termin::>={{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY}}]]\n |?Hat Termin\n |sort=Hat Termin\n |format=eventcalendar\n |searchlabel=\n}}"
                    }
                ]
            }
        }
    }
}