Site Notice

hello, world

CompareApi

From Project-EPB Commons
Revision as of 01:48, 24 November 2019 by 机智的小鱼君 (talk | contribs) ([InPageEdit] 没有编辑摘要)

返回数据如下:

{
  "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的表格"
  }
}

'

' + '<colgroup>' + '<col class="diff-marker">' + '<col class="diff-content">' + '<col class="diff-marker">' + '<col class="diff-content">' + '</colgroup>' + '<tbody>' + '' + '' + '' + '' + diffTable + '</tbody>' + '
diff-otitle placeholderdiff-ntitle placeholder

'