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": "Selfsigned_ssl_certificate",
        "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": {
            "68": {
                "pageid": 68,
                "ns": 0,
                "title": "Replacing Sendmail With Postfix",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "[[category:postfix]]\n[[category:sendmail]]\nIt is easy to replace the default FreeBSD system mailer Sendmail with Postfix from ports.\n\n== Installing Postfix ==\nTo install Postfix from ports:\n<pre>\nsudo portmaster /usr/ports/mail/postfix\n</pre>\nI check the TLS option but leave everything else as defaults.\n\nDuring the installation Postfix asks a few questions, I answer yes to all of them:\n<pre>\n...\nYou need user \"postfix\" added to group \"mail\".\nWould you like me to add it [y]?\nDone.\n...\nWould you like to activate Postfix in /etc/mail/mailer.conf [n]? y\n...\n</pre>\n\n== Enabling Postfix ==\n\nThe pkg-message for Postfix contains the following information:\n<pre>\nTo enable postfix startup script please add postfix_enable=\"YES\" in\nyour rc.conf\n\nIf you not need sendmail anymore, please add in your rc.conf:\n\nsendmail_enable=\"NO\"\nsendmail_submit_enable=\"NO\"\nsendmail_outbound_enable=\"NO\"\nsendmail_msp_queue_enable=\"NO\"\n\nAnd you can disable some sendmail specific daily maintenance routines in your\n/etc/periodic.conf file:\n\ndaily_clean_hoststat_enable=\"NO\"\ndaily_status_mail_rejects_enable=\"NO\"\ndaily_status_include_submit_mailq=\"NO\"\ndaily_submit_queuerun=\"NO\"\n\nIf /etc/periodic.conf does not exist please create it and add those values.\n</pre>\n\nI go enable Postfix in <code>/etc/rc.conf</code>, disable Sendmail in the same file, and disable the Sendmail specific things in <code>/etc/periodic.conf</code>.\n\n== Post-install Configuration ==\nI then go delete the default <code>/usr/local/etc/postfix/main.cf</code> and replace it with a short one, suitable for a local system mailer. I have two versions of this \"short, system-mailer only Postfix config\", one is for jail hosts with no loopback interface, the other is for normal systems:\n\n'''main.cf on systems without lo0:'''\n<pre>\nmynetworks_style = host\nrelayhost = [mail.skabet.cn.dom]\n</pre>\nNote that I am using a relayhost to deliver the mail. This is neccesary because my jails have invalid hostnames. Another way to solve this problem is to use Postfix sender rewriting. I use the rewriting approach in the places where I don't have an SMTP relay handy.)\n\n'''main.cf on systems with lo0:'''\n<pre>\ninet_interfaces = localhost\nrelayhost = [mail.skabet.cn.dom]\n</pre>\nI configure systems with a loopback interface to listen on only the loopback interface. This means I don't have to care about the <code>mynetworks</code> setting, since no other machines can deliver mail to the server anyway. I am also using an SMTP relay server in this example.\n\nI also run the following command to rebuild the aliases database so Postfix understands it:\n<pre>\n$ sudo postalias /etc/aliases\n</pre>\n\n== Starting Postfix ==\nNow I just need to stop Sendmail and start Postfix:\n<pre>\nsudo /etc/rc.d/sendmail onestop\n</pre>\n\n..and..\n\n<pre>\n$ sudo /usr/local/etc/rc.d/postfix start\n</pre>"
                    }
                ]
            },
            "38": {
                "pageid": 38,
                "ns": 0,
                "title": "Sbnc",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "[11:00] < Tykling> oi shroud !                                                                                  fikus-kukis\n[11:00] < shroud> oi                                                                                            FlopNet\n[11:00] < Tykling> you mind repeating what you told me a few months ago                                         fok\n[11:00] < shroud> uh, about what exactly?                                                                       isbric\n[11:00] < Tykling> the flag to compile sbnc with to avoid the non-ssl-connect-to-ssl-port-crash                 jamess\n[11:00] < shroud> --lpc                                                                                         Joel\n[11:01] < Tykling> \\o/ thank you                                                                                jwh\n[11:01] < shroud> and that's not a compile flag"
                    }
                ]
            }
        }
    }
}