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": "",
    "query": {
        "pages": {
            "46": {
                "pageid": 46,
                "ns": 0,
                "title": "Wiki Contributor Guidelines",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "==Access Management==\nEveryone on the Internet can read the contents of this Wiki.\nIn order to contribute content various pre-requisites have to be satisfied:\n* You must have a [http://sourceforge.net/ SourceForge] account by signing up [http://sourceforge.net/account/registration/ here].\n* You must be a member of the [[LEAF]] project. Click [http://sourceforge.net/project/memberlist.php?group_id=13751 here].\n* You need to be listed on the [[Special:ListUsers|Users]] page for this Wiki.\n** In particular you need to be listed as a member of [[Special:ListGroupRights|user class]] \"editor\" - the text <tt>(editor)</tt> will appear after your username.\n** In order to be added as an \"editor\" an \"admin\" of this Wiki needs to grant you access. The \"admin\" users are listed on the [[Special:ListUsers|Users]] page.\n** TODO - How do we advise users to contact an \"admin\" to request access?\n\n\n==Structure of Wiki Pages==\nThe [[LEAF]] development team are keen to see this Wiki maintained as a trustworthy and up-to-date source of information for [[LEAF]] users and developers.\nIn support of this, the policy is to have relatively few pages, each of which is managed as part of a well-defined structure.\nSince the Wiki concept does not enforce a good structure it is necessary to maintain this manually.\n\nIn particular:\n* Most of the content should form part of \"books\" which have a logical structure of Chapters and (optionally) Sub-Chapters.\n* The main page for each \"book\" shall contain a \"Table of Contents\", with links to the separate pages for Chapters and (optionally) Sub-Chapters.\n\nWhen choosing names for new pages:\n* Remember that the scope of this Wiki is '''all''' of the [[LEAF]] project, not only e.g [[Bering-uClibc 4.x]].  Pages which are specific to a particular Branch, or to a Version of a Branch, should be prefixed with the Name (and Version) of that Branch.\n** For example: [[Bering-uClibc 4.x - User Guide]], [[Bering-uClibc 4.1 - Release Notes]].\n** Somebody else might want to create a different page to describe the same aspects of a different Branch.\n\n\n==Content of Wiki Pages==\n===LEAF Terminology===\nWrite \"Module\", \"Package\" and \"Image\" (rather than \"module\", \"package\" and \"image\") to emphasize that these are being used as specific [[LEAF]] terms.\n\n===WikiMarkup===\nUse WikiMarkup in preference to HTML markup.\n====Hints and Tips====\n* The normal way of inserting \"code\" examples (starting a line with a space) doesn't work properly within lists. In particular, within numbered lists it resets the numbering. The workaround is to use <nowiki><pre>code text goes here</pre></nowiki>\n* For multi-line code examples, need to separate the lines with <nowiki> & # 1 0 ; </nowiki> (without the spaces)\n** See [[Bering-uClibc 4.x - User Guide - Advanced Topics - Setting Up a VOIP Server]] for an example\n\n===Diagrams===\nA picture paints a thousand words. Diagrams should be included where they assist with understanding, or even just because they look nice.\n\nThe preferred format for screenshots is PNG.\nThe preferred format for diagram files is SVG.\nThe recommended tool for creating/editing SVG files is TODO (Inkscape, maybe? [[User:Davidmbrooke|Davidmbrooke]] 20:34, 12 November 2010 (UTC))\n\nWhen including diagram files in pages, the preferred formatting syntax is:\n <nowiki>[[Image:filename.png|center|frame|alt=Alternative text|Caption]]</nowiki>\n\n===Converting DocBook Pages===\nA lot of the existing [[Bering]] and [[Bering-uClibc]] documentation is in [http://www.docbook.org/ DocBook] format.\nIn general this is of high quality but it often needs to be updated for [[Bering-uClibc 4.x]].\n\nA good way to create a Wiki page based on an existing DocBook page is to use the [http://search.cpan.org/~diberri/HTML-WikiConverter/lib/HTML/WikiConverter.pm Wiki::Converter] Perl module (more specifically, the related <tt>html2wiki</tt> Perl script).\nOn Fedora, this can be installed with:\n yum install html2wiki\nFor some reason, at least on Fedora 14, this does '''NOT''' install the MediaWiki \"dialect\" module, and that does not seem to be available as a separate RPM package in any of the standard repositories.\nA workaround is to install this with the \"cpan\" command:\n cpan install D/DI/DIBERRI/HTML-WikiConverter-MediaWiki-0.59.tar.gz\n\nOnce the converter is installed, the recommended way to convert a DocBook page is as follows:\n# Download (or generate) the HTML version of the DocBook page.\n#* Either \"Save as...\" from a Browser or use <tt>wget</tt>\n# Convert to \"MediaWiki\" format with a command like the following<pre>html2wiki --dialect=MediaWiki file.html > file.wiki</pre>\n# Browse the generated <tt>.wiki</tt> file and paste the contents into a MediaWiki \"edit\" page"
                    }
                ]
            }
        }
    }
}