Last modified: 2014-01-05 20:11:53 UTC
In several places in the codebase, timestamps are used to determine the order of edits and other actions, which can lead to issues in situations where several actions happen at nearly the same time. One example of this is countRevisionsBetween in title.php. If multiple revisions of a page are made within 2 seconds, it will return an incorrect count when used on those revisions. Shouldn't this and all similar uses be changed to compare based on the table's primary key instead (revision ID in this case)?
Maybe related: bug 2930 / bug 17591
(In reply to comment #0) > In several places in the codebase Thanks for reporting this. If you are aware of more places, please list them.
I've just now noticed that edit conflict detection in EditPage.php does the same thing.