MediaWiki API 结果
这是JSON格式的HTML实现。HTML对调试很有用,但不适合应用程序使用。
指定format参数以更改输出格式。要查看JSON格式的非HTML实现,设置format=json。
{
"compare": {
"fromid": 1,
"fromrevid": 1,
"fromns": 0,
"fromtitle": "Main Page",
"toid": 1,
"torevid": 2,
"tons": 0,
"totitle": "Main Page",
"*": "<tr>\n <td colspan=\"2\" class=\"diff-lineno\">\u7b2c1\u884c\uff1a</td>\n <td colspan=\"2\" class=\"diff-lineno\">\u7b2c1\u884c\uff1a</td>\n</tr>\n<tr>\n <td colspan=\"2\" class=\"diff-empty diff-side-deleted\"></td>\n <td class=\"diff-marker\" data-marker=\"+\"></td>\n <td class=\"diff-addedline diff-side-added\"><div>'''Welcome to cluster group wiki'''</div></td>\n</tr>\n<tr>\n <td class=\"diff-marker\" data-marker=\"\u2212\"></td>\n <td class=\"diff-deletedline diff-side-deleted\"><div>'''\u5df2\u6210\u529f\u5b89\u88c5MediaWiki\u3002'''</div></td>\n <td colspan=\"2\" class=\"diff-empty diff-side-added\"></td>\n</tr>\n<tr>\n <td class=\"diff-marker\"></td>\n <td class=\"diff-context diff-side-deleted\"><br /></td>\n <td class=\"diff-marker\"></td>\n <td class=\"diff-context diff-side-added\"><br /></td>\n</tr>\n<tr>\n <td colspan=\"2\" class=\"diff-empty diff-side-deleted\"></td>\n <td class=\"diff-marker\" data-marker=\"+\"></td>\n <td class=\"diff-addedline diff-side-added\"><div>== [[group seminar]] ==</div></td>\n</tr>\n<tr>\n <td class=\"diff-marker\" data-marker=\"\u2212\"></td>\n <td class=\"diff-deletedline diff-side-deleted\"><div>\u8bf7\u67e5\u9605[//meta.wikimedia.org/wiki/Help:Contents \u7528\u6237\u6307\u5357]\u4ee5\u83b7\u53d6\u4f7f\u7528\u672cwiki\u8f6f\u4ef6\u7684\u4fe1\u606f\uff01</div></td>\n <td colspan=\"2\" class=\"diff-empty diff-side-added\"></td>\n</tr>\n<tr>\n <td class=\"diff-marker\"></td>\n <td class=\"diff-context diff-side-deleted\"><br /></td>\n <td class=\"diff-marker\"></td>\n <td class=\"diff-context diff-side-added\"><br /></td>\n</tr>\n<tr>\n <td class=\"diff-marker\" data-marker=\"\u2212\"></td>\n <td class=\"diff-deletedline diff-side-deleted\"><div>== <del class=\"diffchange diffchange-inline\">\u5165\u95e8</del> ==</div></td>\n <td class=\"diff-marker\" data-marker=\"+\"></td>\n <td class=\"diff-addedline diff-side-added\"><div>== <ins class=\"diffchange diffchange-inline\">[[Computer support]]</ins> ==</div></td>\n</tr>\n<tr>\n <td colspan=\"2\" class=\"diff-empty diff-side-deleted\"></td>\n <td class=\"diff-marker\" data-marker=\"+\"></td>\n <td class=\"diff-addedline diff-side-added\"><br /></td>\n</tr>\n<tr>\n <td class=\"diff-marker\" data-marker=\"\u2212\"></td>\n <td class=\"diff-deletedline diff-side-deleted\"><div>* [//www.mediawiki.org/wiki/Manual:Configuration_settings MediaWiki\u914d\u7f6e\u8bbe\u7f6e\u5217\u8868]</div></td>\n <td colspan=\"2\" class=\"diff-empty diff-side-added\"></td>\n</tr>\n<tr>\n <td colspan=\"2\" class=\"diff-empty diff-side-deleted\"></td>\n <td class=\"diff-marker\" data-marker=\"+\"></td>\n <td class=\"diff-addedline diff-side-added\"><div>== [[staff member]] ==</div></td>\n</tr>\n<tr>\n <td class=\"diff-marker\" data-marker=\"\u2212\"></td>\n <td class=\"diff-deletedline diff-side-deleted\"><div>* [//www.mediawiki.org/wiki/Manual:FAQ/zh-hans MediaWiki\u5e38\u89c1\u95ee\u9898]</div></td>\n <td colspan=\"2\" class=\"diff-empty diff-side-added\"></td>\n</tr>\n<tr>\n <td colspan=\"2\" class=\"diff-empty diff-side-deleted\"></td>\n <td class=\"diff-marker\" data-marker=\"+\"></td>\n <td class=\"diff-addedline diff-side-added\"><br /></td>\n</tr>\n<tr>\n <td class=\"diff-marker\" data-marker=\"\u2212\"></td>\n <td class=\"diff-deletedline diff-side-deleted\"><div>* [https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce MediaWiki\u53d1\u5e03\u90ae\u4ef6\u5217\u8868]</div></td>\n <td colspan=\"2\" class=\"diff-empty diff-side-added\"></td>\n</tr>\n<tr>\n <td colspan=\"2\" class=\"diff-empty diff-side-deleted\"></td>\n <td class=\"diff-marker\" data-marker=\"+\"></td>\n <td class=\"diff-addedline diff-side-added\"><div>== wiki \u683c\u5f0f ==</div></td>\n</tr>\n<tr>\n <td colspan=\"2\" class=\"diff-empty diff-side-deleted\"></td>\n <td class=\"diff-marker\" data-marker=\"+\"></td>\n <td class=\"diff-addedline diff-side-added\"><div>*\u8bed\u6cd5\u683c\u5f0f[http://www.mediawiki.org/w/index.php?title=Help:Formatting/zh&oldid=621228]</div></td>\n</tr>\n<tr>\n <td colspan=\"2\" class=\"diff-empty diff-side-deleted\"></td>\n <td class=\"diff-marker\" data-marker=\"+\"></td>\n <td class=\"diff-addedline diff-side-added\"><div>*\u94fe\u63a5[http://www.mediawiki.org/wiki/Help:Links/zh]</div></td>\n</tr>\n<tr>\n <td colspan=\"2\" class=\"diff-empty diff-side-deleted\"></td>\n <td class=\"diff-marker\" data-marker=\"+\"></td>\n <td class=\"diff-addedline diff-side-added\"><div>*\u56fe\u7247[http://www.mediawiki.org/wiki/Help:Images/zh]</div></td>\n</tr>\n<tr>\n <td colspan=\"2\" class=\"diff-empty diff-side-deleted\"></td>\n <td class=\"diff-marker\" data-marker=\"+\"></td>\n <td class=\"diff-addedline diff-side-added\"><div>*\u8868\u683c[http://www.mediawiki.org/wiki/Help:Tables/zh]</div></td>\n</tr>\n"
}
}