MediaWiki API result

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": "Sandbox/template:product",
        "continue": "gapcontinue||"
    },
    "warnings": {
        "main": {
            "*": "Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce> 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": {
            "298": {
                "pageid": 298,
                "ns": 0,
                "title": "Report Num",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "Here is info on Report Num so I can link."
                    }
                ]
            },
            "61": {
                "pageid": 61,
                "ns": 0,
                "title": "Sandbox",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "Welcome to the sandbox! Feel free to edit it to try out MediaWiki and VisualEditor. Click \"Edit\" to use VisualEditor and \"Edit source\" to edit by source code.\n\nStart editing below here:\n\nUsers of this sandbox will find sand in their shoes.\n\n{{Product\n|Title = 700 Humidifier\n|Subheader = Evaporative Humidifier\n|Header = Fan-Powered\n}}\n\n== TU Definitions - Dashboard Directory ==\n=== Course Planning ===\n\n* [[Academic Space Management|Academic Space Managment]]\n* [[Course Planning Optimization]]\n* [[Course Size Distribution]]\n\n=== Enrollment ===\n\n* [[Average Number of Major Changes]]\n* [[Census Credit Hour Enrollment by Program, Major, Minor, and Certificate]]\n\n=== '''Program Review''' ===\n\n* [[Department Fall to Fall Retention Rates for UG Full-Time Students]]\n\n== bubblegum ==\nasdfghjkl\n\nasdfghj xyz md test ve\n\n{| class=\"wikitable\"\n|+\n!\n!\n!\n!\n|-\n|\n|\n|\n|\n|-\n|\n|\n|\n|\n|-\n|\n|\n|\n|\n|}\n\n== Product Specs ==\n{| class=\"wikitable\"\n|+Interesting Table and Facts\n!Model\n!Usage\n!Spec 1\n!Spec 2\n|-\n|50\n|1.5\n|60 gph\n|2.5 mph\n|-\n|100\n|3\n|45 gph\n|5 mph\n|-\n|200\n|6\n|30 gph\n|10 mph\n|-\n|300\n|9\n|15 gph\n|15 mph\n|}\n\n== Chicken ==\n[[File:Chicken.pdf|thumb|Chicken chicken chicken]]\n\n[[Chicken]] chicken chicken\n\nPDFs render using PdfHandler.\n===Stuff about chickens===\n\n== This is a Test ==\n{| class=\"wikitable\"\n|+Test Table\n!Price\n!QTY\n!MSRP\n!Discount\n!\n|-\n!\n!\n!\n!\n!\n|-\n|\n|\n|\n|\n|\n|-\n|\n|\n|\n|\n|\n|-\n|\n|\n|\n|\n|\n|}\nHere is a [[link]]\n\n== Calendar ==\n{{#widget:Google Calendar\n|id=usa@holiday.calendar.google.com\n|color=B1440E\n|title=U.S. Holidays\n}}\n\n== New heading (Some context here) ==\n{| class=\"wikitable sortable\"\n|+Header\n!Col 1\n!Col 2\n!Col 3\n!\n|-\n|\n|fljklewfee\n|\n|\n|-\n|\n|[https://www.youtube.com/watch?v=iik25wqIuFo A link to a place]\n|\n|\n|-\n|\n|\n|\n|\n|}\n<syntaxhighlight>\n$Ace = 0;\nFunction MyFunction(x,y)\n  # Some remark\n  Some_Real_Var as type string;\n  Some_Real_Var = \"hello world\";\nEnd MyFunction\n</syntaxhighlight>\n\n# Chicken\n\n[[File:ANNA GIMP.jpg|alt=she win 100%|thumb|Sock Elect 1000 0000 Year]]\n\n== Sock Current Status ==\n\n\nAbout: Sock\n\nSock is defacto Queen of changeling consortium\n\nshe rules with irone clawe for 100 years so far\n\n[[wikipedia:Turkish_Van|Please go here to learn more about cats]]\n\n\nrEASONS\n\n* pretty\n* smart\n* wise\n* beautiful\n** terrible as the dawn\n* long\n** +wide\n* sharp\n\n== Sock Subjects ==\n\n=== Sock has many cats of her own as well as humans ===\n{| class=\"wikitable\"\n|+Types of Cats\n!Cat 1\n!Color\n!Cat?\n!Snake?\n!Liquid?\n|-\n|Sock\n|White\n|y\n|n\n|y\n|-\n|Wheel\n|brown\n|y\n|y\n|n\n|-\n|BB\n|tan\n|n\n|y\n|n\n|-\n|Ramen\n|brown\n|y\n|y\n|y\n|-\n|Guillermo\n|blue\n|n\n|n\n|n?\n|-\n|Kalku\n|b&w\n|y\n|n\n|y\n|}\n{| class=\"wikitable mw-collapsible mw-collapsed\"\n|+humans?\n!Name\n!Sock's Rating\n!tall\n!loud\n|-\n|Anna\n|10\n|y\n|y\n|-\n|Cecil\n|9\n|n\n|n\n|-\n|Jill\n|5 (broom 9)\n|n\n|y\n|-\n|Shay \n|3 >:3\n|?\n|?\n|-\n|Lex\n|8\n|n\n|n\n|-\n|Seven\n|Seven\n|n\n|y\n|}\n\n== Heading 2, History of Sock ==\n100 Years ago Exactly, Sock\n\nShe became\n\nTiny and Large all at once<!-- no one could believe it\n -->\n\n<gallery caption=\"NO ONE coud believe\">\nFile:ANNA GIMP.jpg\nFile:ANNA GIMP.jpg\nFile:ANNA GIMP.jpg\n</gallery>\n\n== Center text ==\n{{Center|Hello world}}\n\n{{Center start}}\n\n<big><big><big>Centered big text</big></big></big>\n\n[[File:Wiki.png]]\n\n{{Center end}}\n\n== New Paragraph ==\nText under a new paragraph is simple and is formatted as such automatically.\n\n== Code Syntax Highlighting Test ==\nPowerShell: <syntaxhighlight lang=\"powershell\">\n# For an Exchange Online DDG\n$EXODDG = Get-EXODynamicDistributionGroup <ListName>@domain.com\n$EXODDGMembers = @(Get-EXORecipient -RecipientPreviewFilter $EXOGroup.RecipientFilter -ResultSize Unlimited)\n\u200b\n# For an Exchange on-prem DDG\n$OPDDG = Get-DynamicDistributionGroup <ListName>\n$OPDDGMembers = Get-Recipient -RecipientPreviewFilter $OPDDG.RecipientFilter -OrganizationalUnit $OPDDG.RecipientContainer -IgnoreDefaultScope -ResultSize Unlimited\n\u200b\n# Bonus: Compare the memberships of the two groups (if they are supposed to be the same group)\n$MemberDiff = Compare-Object -ReferenceObject $EXODDGMembers -DifferenceObject $OPDDGMembers -Property alias -PassThru\n</syntaxhighlight>Bash: <syntaxhighlight lang=\"bash\">\n#!/bin/bash\nfor arg in \"$@\"\ndo\nindex=$(echo $arg | cut -f1 -d=)\nval=$(echo $arg | cut -f2 -d=)\ncase $index in\nX) x=$val;;\n\u200b\nY) y=$val;;\n\u200b\n*)\nesac\ndone\n((result=x+y))\necho \"X+Y=$result\"\n</syntaxhighlight>SQL: <syntaxhighlight lang=\"mysql\">\nSELECT event.start_date, event.end_date, event_i18n.date, event.id, i_o.identifier, CONCAT(REGEXP_SUBSTR(event_i18n.date,'(\\\\d{4})'),'-01-01')\nFROM event\nJOIN event_i18n ON event_i18n.id = event.id\nJOIN information_object AS i_o ON i_o.id = event.object_id\nWHERE\n    #(event.start_date IS NULL AND event_i18n.date REGEXP '(\\\\d{4})')\n    (event.end_date IS NULL AND event_i18n.date REGEXP '(\\\\d{4}\\\\-\\\\d{2})(?!\\\\d)')\n</syntaxhighlight>This is a test paragraph"
                    }
                ]
            }
        }
    }
}