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.

{
    "parse": {
        "title": "NSIS Wiki:Sandbox",
        "pageid": 3430,
        "revid": 25843,
        "text": {
            "*": "<div class=\"mw-parser-output\"><p>This is where test stuff should be posted, if you don't know how things appear, or want to test if something works which can't be seen by just previewing the page.\n</p><p>Right now, there is nothing being done to this page regularly to delete contents. Maybe a bot or the server will be used for the task, but nothing is sure.\n</p><p>Keep the page content below this note.\n</p>\n<hr />\n<pre>This is only a test.\n</pre>\n<p>test captcha\n</p><p><br />\nThe quick brown fox jumps over the lazy dog.\n</p><p><span id=\"anchor&#95;name\"></span>\n</p>\n<h2><span class=\"mw-headline\" id=\"Some_long_complicated_title_that_no_one_would_want_to_refer_to_directly\">Some long complicated title that no one would want to refer to directly</span><span class=\"mw-editsection\"><span class=\"mw-editsection-bracket\">[</span><a href=\"/mediawiki/index.php?title=NSIS_Wiki:Sandbox&amp;action=edit&amp;section=1\" title=\"Edit section: Some long complicated title that no one would want to refer to directly\">edit</a><span class=\"mw-editsection-bracket\">]</span></span></h2>\n<p>LIBRARY SYSTEM OF THE FISHER VALLEY\nkjnb/'/l,m'l'lk\n</p><p><code> \n!include \"MUI2.nsh\"   # change this to !include MUI.nsh to see how the code works successfully for MUI1\n</code></p><p><code><br />\n</code></p><code><dl><dt>Local bitmap path.</dt></dl></code><code><p>!define BITMAP_FILE res.bmp\n</p></code><code><dl><dt>--------------------------------------------------------------------------------------------------</dt>\n<dt>Installer Settings</dt>\n<dt>--------------------------------------------------------------------------------------------------</dt></dl></code><code><p>Name \"Background Bitmap\"\nOutFile \"bgbitmap.exe\"\nShowInstDetails show\n</p></code><code><dl><dt>!define MUI_HEADERIMAGE #  this is responsible for the big window</dt>\n<dt>!define MUI_UI_HEADERIMAGE \".\\dimm_beta_img.exe\" # modded exe</dt>\n<dt>--------------------------------------------------------------------------------------------------</dt>\n<dt>Modern UI Settings</dt>\n<dt>--------------------------------------------------------------------------------------------------</dt></dl></code><code><p>!define MUI_COMPONENTSPAGE_NODESC\n!define MUI_FINISHPAGE_NOAUTOCLOSE\n!define MUI_CUSTOMFUNCTION_GUIINIT MyGUIInit\n</p></code><code><dl><dt>--------------------------------------------------------------------------------------------------</dt>\n<dt>Definitions</dt>\n<dt>--------------------------------------------------------------------------------------------------</dt></dl></code><code><p>!ifndef LR_LOADFROMFILE\n</p></code><code><pre>   !define LR_LOADFROMFILE     0x0010\n</pre></code><code><p>!endif\n!ifndef LR_CREATEDIBSECTION\n</p></code><code><pre>   !define LR_CREATEDIBSECTION 0x2000\n</pre></code><code><p>!endif\n!ifndef IMAGE_BITMAP\n</p></code><code><pre>   !define IMAGE_BITMAP        0\n</pre></code><code><p>!endif\n!ifndef SS_BITMAP\n</p></code><code><pre>   !define SS_BITMAP           0x0000000E\n</pre></code><code><p>!endif\n!ifndef WS_CHILD\n</p></code><code><pre>   !define WS_CHILD            0x40000000\n</pre></code><code><p>!endif\n!ifndef WS_VISIBLE\n</p></code><code><pre>   !define WS_VISIBLE          0x10000000\n</pre></code><code><p>!endif\n!define HWND_TOP            0\n!define SWP_NOSIZE          0x0001\n!define SWP_NOMOVE          0x0002\n!define IDC_BITMAP          1500\n!define stRECT \"(i, i, i, i) i\"\nVar hBitmap\n</p></code><code><dl><dt>--------------------------------------------------------------------------------------------------</dt>\n<dt>Pages</dt>\n<dt>--------------------------------------------------------------------------------------------------</dt></dl></code><code><p>!define MUI_PAGE_CUSTOMFUNCTION_SHOW WelcomePageShow\n!insertmacro MUI_PAGE_WELCOME\n</p><p>!insertmacro MUI_LANGUAGE English\n</p></code><code><dl><dt>--------------------------------------------------------------------------------------------------</dt>\n<dt>Macros</dt>\n<dt>--------------------------------------------------------------------------------------------------</dt>\n<dt>Destroy a window.</dt></dl></code><code><p>!macro DestroyWindow HWND IDC\n</p></code><code><pre>   GetDlgItem $R0 ${HWND} ${IDC}\n   System::Call `user32::DestroyWindow(i R0)`\n</pre></code><code><p>!macroend\n</p></code><code><dl><dt>Give window transparent background.</dt></dl></code><code><p>!macro SetTransparent HWND IDC\n</p></code><code><pre>   GetDlgItem $R0 ${HWND} ${IDC}\n   SetCtlColors $R0 0x444444 transparent\n</pre></code><code><p>!macroend\n</p></code><code><dl><dt>Refresh window.</dt></dl></code><code><p>!macro RefreshWindow HWND IDC\n</p></code><code><pre>   GetDlgItem $R0 ${HWND} ${IDC}\n   ShowWindow $R0 ${SW_HIDE}\n   ShowWindow $R0 ${SW_SHOW}\n</pre></code><code><p>!macroend\n</p></code><code><dl><dt>--------------------------------------------------------------------------------------------------</dt>\n<dt>Functions</dt>\n<dt>--------------------------------------------------------------------------------------------------</dt></dl></code><code><p>Function MyGUIInit\n</p></code><code><pre>  &#160;; Extract bitmap image.\n   InitPluginsDir\n   ReserveFile `${BITMAP_FILE}`\n   File `/ONAME=$PLUGINSDIR\\res.bmp` `${BITMAP_FILE}`\n  &#160;; Get the size of the window.\n   System::Call `*${stRECT} .R0`\n   System::Call `user32::GetClientRect(i $HWNDPARENT, i R0)`\n   System::Call `*$R0${stRECT} (, , .R1, .R2)`\n   System::Free $R0\n  &#160;; Create bitmap control.\n   System::Call `kernel32::GetModuleHandle(i 0) i.R3`\n   System::Call `user32::CreateWindowEx(i 0, t \"STATIC\", t \"\", i ${SS_BITMAP}|${WS_CHILD}|${WS_VISIBLE}, i 0, i 0, i R1, i R2, i $HWNDPARENT, i ${IDC_BITMAP}, i R3, i 0) i.R1`\n   System::Call `user32::SetWindowPos(i R1, i ${HWND_TOP}, i 0, i 0, i 0, i 0, i ${SWP_NOSIZE}|${SWP_NOMOVE})`\n  &#160;; Set the bitmap.\n   System::Call `user32::LoadImage(i 0, t \"$PLUGINSDIR\\res.bmp\", i ${IMAGE_BITMAP}, i 0, i 0, i ${LR_CREATEDIBSECTION}|${LR_LOADFROMFILE}) i.s`\n   Pop $hBitmap\n   SendMessage $R1 ${STM_SETIMAGE} ${IMAGE_BITMAP} $hBitmap\n  &#160;; Set transparent backgrounds.\n   !insertmacro SetTransparent $HWNDPARENT 3\n   !insertmacro SetTransparent $HWNDPARENT 1\n   !insertmacro SetTransparent $HWNDPARENT 2\n   !insertmacro SetTransparent $HWNDPARENT 1034\n   !insertmacro SetTransparent $HWNDPARENT 1037\n   !insertmacro SetTransparent $HWNDPARENT 1038\n   !insertmacro SetTransparent $HWNDPARENT 1028\n   !insertmacro SetTransparent $HWNDPARENT 1256\n  &#160;; !insertmacro SetTransparent $HWNDPARENT 1045\n   !insertmacro SetTransparent $HWNDPARENT 1035\n  &#160;; Remove unwanted controls.\n   !insertmacro DestroyWindow  $HWNDPARENT 1256\n   !insertmacro DestroyWindow  $HWNDPARENT 1028\n  &#160;; !insertmacro DestroyWindow  $HWNDPARENT 1039 \n   !insertmacro DestroyWindow  $HWNDPARENT 1045     # dimm remove line from bottom\n  &#160;; !insertmacro DestroyWindow  $HWNDPARENT 1035\n  &#160;; !insertmacro DestroyWindow  $HWNDPARENT 1256\n</pre></code><code><p>FunctionEnd\n</p><p><br />\nFunction RefreshParentControls\n</p></code><code><pre>   !insertmacro RefreshWindow  $HWNDPARENT 1037\n   !insertmacro RefreshWindow  $HWNDPARENT 1038\n</pre></code><code><p>FunctionEnd\n</p><p>Function WelcomePageShow\n</p></code><code><pre>     # Sets background image\n   System::Call `user32::LoadImage(i 0, t \"$PLUGINSDIR\\res.bmp\", i ${IMAGE_BITMAP}, i 0, i 0, i ${LR_CREATEDIBSECTION}|${LR_LOADFROMFILE}) i.s`\n   Pop $hBitmap\n  &#160;; SendMessage $bitmapWindow ${STM_SETIMAGE} ${IMAGE_BITMAP} $hBitmap\n      # Start solution\n   SetCtlColors $mui.WelcomePage ${CTRL_COLOUR} transparent\n   SetCtlColors $mui.WelcomePage.text ${CTRL_COLOUR} transparent\n   SetCtlColors $mui.WelcomePage.title 0x333333 transparent\n   !insertmacro DestroyWindow  $HWNDPARENT 1037\n   !insertmacro DestroyWindow  $HWNDPARENT 1038\n   !insertmacro DestroyWindow  $HWNDPARENT 1036 \n   SetCtlColors $0 222425 transparent\n   System::Call `user32::DestroyWindow(i $mui.WelcomePage.Image)`\n</pre></code><code><pre>   Call RefreshParentControls\n</pre></code><code><p>FunctionEnd\n</p></code><code><pre>  &#160;; BrandingText \"\"\n</pre></code><code><dl><dt>Free loaded resources.</dt></dl></code><code><p>Function .onGUIEnd\n</p></code><code><pre>  &#160;; Destroy the bitmap.\n   System::Call `gdi32::DeleteObject(i s)` $hBitmap\n</pre></code><code><p>FunctionEnd\n</p></code><code><dl><dt>--------------------------------------------------------------------------------------------------</dt>\n<dt>Dummy section</dt>\n<dt>--------------------------------------------------------------------------------------------------</dt></dl></code><code><p>Section \"Dummy Section\"\nSectionEnd\n</p></code><p><code></code>\n</p>\n<h2><span class=\"mw-headline\" id=\"CSS\">CSS</span><span class=\"mw-editsection\"><span class=\"mw-editsection-bracket\">[</span><a href=\"/mediawiki/index.php?title=NSIS_Wiki:Sandbox&amp;action=edit&amp;section=2\" title=\"Edit section: CSS\">edit</a><span class=\"mw-editsection-bracket\">]</span></span></h2>\n<p><code>O01lI</code></p><hr />\n<p><code style=\"font-family: monospace;\">O01lI</code></p><hr />\n<p><code style=\"font-family: monospace,monospace;\">O01lI</code></p><hr />\n<p><code style=\"font-family: monospace,serif;\">O01lI</code></p><hr />\n<pre>O01lI</pre><hr />\n<pre style=\"font-family: monospace;\">O01lI</pre><hr />\n<pre style=\"font-family: monospace,monospace;\">O01lI</pre><hr />\n<pre style=\"font-family: monospace,serif;\">O01lI</pre><hr />\n<!-- \nNewPP limit report\nCached time: 20251215154151\nCache expiry: 86400\nReduced expiry: false\nComplications: []\nCPU time usage: 0.019 seconds\nReal time usage: 0.024 seconds\nPreprocessor visited node count: 25/1000000\nPost\u2010expand include size: 0/2097152 bytes\nTemplate argument size: 0/2097152 bytes\nHighest expansion depth: 2/100\nExpensive parser function count: 0/100\nUnstrip recursion depth: 0/20\nUnstrip post\u2010expand size: 176/5000000 bytes\n-->\n<!--\nTransclusion expansion time report (%,ms,calls,template)\n100.00%    0.000      1 -total\n-->\n\n<!-- Saved in parser cache with key n22049_wiki-wiki_:pcache:idhash:3430-0!canonical and timestamp 20251215154151 and revision id 25843.\n -->\n</div>"
        },
        "langlinks": [],
        "categories": [],
        "links": [],
        "templates": [],
        "images": [],
        "externallinks": [],
        "sections": [
            {
                "toclevel": 1,
                "level": "2",
                "line": "Some long complicated title that no one would want to refer to directly",
                "number": "1",
                "index": "1",
                "fromtitle": "NSIS_Wiki:Sandbox",
                "byteoffset": 558,
                "anchor": "Some_long_complicated_title_that_no_one_would_want_to_refer_to_directly"
            },
            {
                "toclevel": 1,
                "level": "2",
                "line": "CSS",
                "number": "2",
                "index": "2",
                "fromtitle": "NSIS_Wiki:Sandbox",
                "byteoffset": 6861,
                "anchor": "CSS"
            }
        ],
        "parsewarnings": [],
        "displaytitle": "<span class=\"mw-page-title-namespace\">NSIS Wiki</span><span class=\"mw-page-title-separator\">:</span><span class=\"mw-page-title-main\">Sandbox</span>",
        "iwlinks": [],
        "properties": []
    }
}