On 10/5/07, Erik Moeller <erik(a)wikimedia.org> wrote:
There would be some performance hit due to the comparison, but
hopefully it wouldn't be too bad as it would only kick in on reverts.
Is the basic idea sound? Is there a simpler way?
Not even on all reverts. If an edit is being rolled back then no
comparison needs to be performed, just the check as to whether the
version being rolled back to has been sighted. It's the same situation
where an edit is being undone and it's the most recent revision.