Site Notice
hello, world
Difference between revisions of "CompareApi"
From Project-EPB Commons
([InPageEdit] 没有编辑摘要) |
([InPageEdit] 没有编辑摘要) |
||
Line 30: | Line 30: | ||
<html> | <html> | ||
− | <style type="text/css">@import url("https://common.wjghj.cn/load.php?modules=mediawiki.legacy.shared | + | <style type="text/css">@import url("https://common.wjghj.cn/load.php?modules=mediawiki.legacy.shared|mediawiki.diff.styles&only=styles")</style> |
<table class="diff diffTable"> | <table class="diff diffTable"> | ||
<colgroup> | <colgroup> |
Revision as of 01:54, 24 November 2019
返回数据如下:
{ "compare": { "fromid": 37, "fromrevid": 984, "fromns": 2, "fromtitle": "User:机智的小鱼君/common.js", "fromsize": 64, "fromuser": "机智的小鱼君", "fromuserid": 1, "fromcomment": "", "fromparsedcomment": "", "toid": 37, "torevid": 1167, "tons": 2, "totitle": "User:机智的小鱼君/common.js", "tosize": 289, "touser": "机智的小鱼君", "touserid": 1, "tocomment": "[InPageEdit] 没有编辑摘要", "toparsedcomment": "[InPageEdit] 没有编辑摘要", "prev": 983, "next": 1168, "diffsize": 1862, "*": "这里是diff的表格" } }
<html> <style type="text/css">@import url("https://common.wjghj.cn/load.php?modules=mediawiki.legacy.shared|mediawiki.diff.styles&only=styles")</style> <table class="diff diffTable"> <colgroup> <col class="diff-marker"> <col class="diff-content"> <col class="diff-marker"> <col class="diff-content"> </colgroup> <tbody> <tr class="diff-title"> <td colspan="2" class="diff-otitle">diff-otitle placeholder</td> <td colspan="2" class="diff-ntitle">diff-ntitle placeholder</td> </tr> diffTable </tbody> </table> </html>