MediaWiki API 結果
這是JSON格式的HTML實現。HTML對除錯很有用,但不適合應用程式使用。
指定format參數以更改輸出格式。要查看JSON格式的非HTML實現,設置format=json。
{ "compare": { "fromid": 6, "fromrevid": 1, "fromns": 8, "fromtitle": "MediaWiki:1movedto2", "toid": 7, "torevid": 2, "tons": 8, "totitle": "MediaWiki:1movedto2 redir", "*": "<tr><td colspan=\"2\" class=\"diff-lineno\" id=\"mw-diff-left-l1\" >\u884c 1\uff1a</td>\n<td colspan=\"2\" class=\"diff-lineno\">\u884c 1\uff1a</td></tr>\n<tr><td class='diff-marker'>\u2212</td><td class='diff-deletedline'><div>$1 moved to $2</div></td><td class='diff-marker'>+</td><td class='diff-addedline'><div>$1 moved to $2 <ins class=\"diffchange diffchange-inline\">over redirect</ins></div></td></tr>\n" } }