MediaWiki API 結果

這是JSON格式的HTML實現。HTML對除錯很有用,但不適合應用程式使用。

指定format參數以變更輸出格式。要查看JSON格式的非HTML實現,設定format=json

參見完整文件,或API說明以取得更多資訊。

{
    "problemreportsgetform": {
        "result": "<b class=\"xtop\"><b class=\"xb1\"></b><b class=\"xb2\"></b><b class=\"xb3\"></b><b class=\"xb4\"></b></b><div class=\"r_boxContent\">\n\n<form name=\"reportProblem\" id=\"reportProblem\" method=\"post\" action=\"\">\n\n<input type=\"hidden\" name=\"pr_ns\" value=\"0\" />\n\n<div class=\"reportProblemText\"><p>Most pages on this wiki are editable, and you are welcome to edit the page and correct mistakes yourself!\nIf you need help doing that, see <a href=\"/wiki/%E4%BD%BF%E7%94%A8%E8%AA%AA%E6%98%8E:Editing\" title=\"\u4f7f\u7528\u8aaa\u660e:Editing\">how to edit</a> and <a href=\"/w/index.php?title=%E4%BD%BF%E7%94%A8%E8%AA%AA%E6%98%8E:Revert&amp;action=edit&amp;redlink=1\" class=\"new\" title=\"\u4f7f\u7528\u8aaa\u660e:Revert\uff08\u9801\u9762\u4e0d\u5b58\u5728\uff09\">how to revert vandalism</a>.\n</p><p>To contact staff or to report copyright problems, please see <a href=\"http://www.shoutwiki.com/wiki/Special:Contact\" class=\"extiw\" title=\"s:Special:Contact\">ShoutWiki's \"contact us\" page</a>.\n</p><p>Software bugs can be reported on <a class=\"external text\" href=\"https://phabricator.shoutwiki.com\">Phabricator</a>.\nReports made here will be <a href=\"/wiki/%E7%89%B9%E6%AE%8A:ProblemReports\" title=\"\u7279\u6b8a:ProblemReports\">displayed on the wiki</a>.\n</p></div>\n\n<label for=\"pr_reporter\" class=\"floaty\">\u4f7f\u7528\u8005\u540d\u7a31\uff1a</label>\n<input id=\"pr_reporter\" name=\"pr_reporter\" type=\"text\" value=\"\" class=\"floaty\" />\n<br class=\"floaty\" />\n\n<label for=\"pr_title\" class=\"floaty\">Title of the page:</label>\n<input name=\"pr_title\" id=\"pr_title\" type=\"text\" value=\"San Francisco\" disabled=\"disabled\" class=\"floaty\" />\n<br class=\"floaty\" />\n\n<label for=\"pr_email\" class=\"floaty\" title=\"visible only to staff\">Email:</label>\n<input id=\"pr_email\" name=\"pr_email\" title=\"visible only to staff\" type=\"text\" value=\"\" class=\"floaty\" />\n<br class=\"floaty\" />\n\n<label for=\"pr_cat\" class=\"floaty\">Subject:</label>\n<select id=\"pr_cat\" class=\"floaty\" style=\"padding:1px 2px\" name=\"pr_cat\">\n\t<option value=\"-\" selected=\"selected\">-- Please select problem type --</option>\n\n<option value=\"0\">there is a spam link here</option><option value=\"1\">this page has been vandalised</option><option value=\"2\">this content is incorrect</option><option value=\"3\">there is a bug in the wiki software</option><option value=\"4\">other</option>\n\n</select>\n<br class=\"floaty\" />\n\n<label for=\"pr_summary\" class=\"floaty\">Message:</label>\n<textarea name=\"pr_summary\" id=\"pr_summary\" rows=\"3\" cols=\"15\"></textarea>\n\n<br class=\"floaty\" />\n\n<div id=\"pr_browser\"></div>\n\n<div style=\"text-align:center; clear: both; padding: 15px 0 5px 0\">\n\t<input type=\"submit\" value=\"\u554f\u984c\u56de\u5831\" id=\"pr_submit\" style=\"font-weight: bolder\" />\n\t<input type=\"button\" value=\"\u53d6\u6d88\" id=\"pr_cancel\" style=\"margin-left: 30px\" />\n</div>\n\n</form><div style=\"clear: both\"></div></div><b class=\"xbottom\"><b class=\"xb4\"></b><b class=\"xb3\"></b><b class=\"xb2\"></b><b class=\"xb1\"></b></b>"
    }
}