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": "",
    "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": {
            "1846": {
                "pageid": 1846,
                "ns": 0,
                "title": "TestRoberto",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "{{Widget\n|author=Sergey Chernyshev\n|provider=Google Spreadsheets\n|providerurl=http://documents.google.com/support/spreadsheets/\n|addedon=June 19, 2008\n}}\nThis widget allows you to add '''[http://documents.google.com/support/spreadsheets/ Google Spreadsheets]''' to your wiki page.\n\nIt was originally created by [[mediawikiwiki:User:Sergey Chernyshev|Sergey Chernyshev]] for [http://www.semanticcommunities.com/ Semantic Communities LLC.]\n\nTo insert this widget, use the following code:\n\n <nowiki>{{#widget:</nowiki>{{PAGENAME}}<nowiki>\n|key=po-s58YMwf85Q3UxRzdGOBw\n|width=500\n|height=300\n}}</nowiki>\n\n== Parameters ==\n* '''key''' - key parameter in document URL\n* '''width''' and '''height''' define spreadsheet dimensions, 500x300 is default, but you might want to copy it from embed code since size depends on fields you have\n* '''page''' - set it to embed whole page with edit links and more.\n\n== Security NOTE ==\nKeep in mind that to use this widget you must make the document you're publishing to be open for everybody to see which might be undesirable for some uses (intranets, closed groups and etc.) \n\n== Related widgets ==\n* [[Widget:Google Document|Google Document]] - for embedding documents\n* [[Widget:Google Form|Google Form]] - for embedding spreadsheet forms\n* [[Widget:Google Presentation|Google Presentation]] - for embedding presentations\n\n== Sample result ==\n{{#widget:{{PAGENAME}}\n|key=po-s58YMwf85VdL_dX0w3VQ\n|width=100%\n|height=150\n|page=true\n}}\n{{Comments}}"
                    }
                ]
            },
            "1847": {
                "pageid": 1847,
                "ns": 0,
                "title": "Widget:Google Spreadsheet",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "<noinclude>__NOTOC__\nThis widget allows you to add '''[http://documents.google.com/support/spreadsheets/ Google Spreadsheets]''' to your wiki page.\n* Created by [http://www.mediawikiwidgets.org/User:Sergey_Chernyshev Sergey Chernyshev]\n* Since Google Docs migrated to Google Drive, the reference for the template code has change. The latest is available [http://wiki.glitchdata.com/index.php?title=Widget:Google_Spreadsheet here].\n\n== Using this widget ==\nFor information on how to use this widget, see [http://www.mediawikiwidgets.org/Google_Spreadsheet widget description page on MediaWikiWidgets.org].\n\n== Copy to your site ==\nTo use this widget on your site, just install [http://www.mediawiki.org/wiki/Extension:Widgets MediaWiki Widgets extension] and copy [{{fullurl:{{FULLPAGENAME}}|action=edit}} full source code] of this page to your wiki as '''{{FULLPAGENAME}}''' article.\n</noinclude><includeonly><iframe width=\"<!--{$width|escape:'html'|default:500}-->\" height=\"<!--{$height|escape:'html'|default:300}-->\" frameborder=\"0\" src=\"http://spreadsheets.google.com/pub?key=<!--{$key|escape:'urlpathinfo'}--><!--{if not $page}-->&output=html&widget=true<!--{/if}-->\"></iframe></includeonly>"
                    }
                ]
            }
        }
    }
}