https://bugzilla.wikimedia.org/show_bug.cgi?id=54573
--- Comment #2 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- Sorry for the slow slow slow sloooow response.
I think diffs are a useful thing to have, but I'm not quite sure what the goal here is - what is the advantage of using rvdiffto instead of getting both revisions and comparing them with a python diff function?
I can see the use case for, for instance, an antivandalism bot, but I'm not quite sure how you would use it with this.
Then on the implementation - I can imagine it makes sense to store diffs for a certain revision, but I'd expect, for instance, a dict with revid's such that
page, revid=10001 diffs = {10000: <diff object between 10000 and 10001>, 9000: <diff object between 9000 and 10001>}, and storing e.g. revision.prev = 10000.