I am referring to this answer. The initial answer had some tab-delimited code that was quite messy looking, as well as a Google link to search results associated with MDN. I waited what I thought was a few minutes, and considered posting a comment along the lines of "Please don't link to Google search results". I figured (wrongly) the answerer was no longer working on the answer.

So I edited it, reformatting the code, adding () to .call() to inline functions, etc., and very lightly edited the word choice (to remove personal pronouns). Note, I did not make any substantial edits, such as changing functions or anything.

Yet, see the edit associated with my account here: https://stackoverflow.com/posts/8553504/revisions.

All I can say is that that is not right. Also, if you look at the history, there is no unformatted code or Google link anymore at all. Somehow my edit got blended with a version that is no longer available, which distorts what my edit actually was in reality.

Is this a bug? Shouldn't the "This has been edited by someone else" notice shown up? Shouldn't the edit history kick in once someone else has edited the answer, including the most previous version (that the first third-party answer was based on)?

EDIT - I added Feature Request as a tag in relation to the logging to revisions any changes made by third party and keep the most previous revision. I can't tell if this is how it is currently, but I think it makes sense (I certainly thought this was the case).

  • 1
    Note, when stackoverflow makes mistakes like this, people can start shouting at each other for things they havn't done. It's a bug the encourages conflict since the edit history suggest question/answer sabotage. – Raynos Dec 18 '11 at 18:42
  • agree with @Raynos, after I fixed the most urgent issues with the post, I waited some 1-2min, refreshed and saw the new "bomb" edit and the history didn't reflect this at all. – Esailija Dec 18 '11 at 18:46
  • @Esailija - The last edit I saw before I left the page (before Raynos made his comment to me notifying me of a problem) was one where you added the jQuery source text reference at the top of the first code block, that one line. I assumed I had done you a small favor formatting the code (which can be a pain) and didn't expect there to be any issue. Yet, that edit is not in the revision history. – Jared Farrish Dec 18 '11 at 18:51
  • 1
    Related (or a duplicate?): Inline editing silently overwrites other people's changes. (See also the link to the implementation in waffles' answer there.) – Arjan Dec 18 '11 at 19:07
  • @Arjan - Is the answer editor considered the inline editor? – Jared Farrish Dec 18 '11 at 19:10
  • 1
    @Arjan - Also, I would claim that my actual edit wasn't substantive, that it wasn't substantive without all of the other changes I didn't make. But I'm not an educated on how the diff algorithm works. (Although, I did replace a few tabs with a lot of spaces.) – Jared Farrish Dec 18 '11 at 19:12
  • Whenever clicking "edit" does not get you a new page with only that specific post to edit (so, if the editor opens up in the current page itself, still showing all other posts, comments, et cetera) then you're using the "inline editor". – Arjan Dec 18 '11 at 19:12
  • @Arjan - Ok, thank you. Is it possible all of the edits, including ones that occurred but aren't in the revision history, have been logged somewhere? – Jared Farrish Dec 18 '11 at 19:15
  • Waffles writes about the implementation: "If your edit is bigger than the previous edit by a certain margin it will be let through, when it overrides silently we log." So maybe waffles can peek in that log to tell if that is indeed what happened here. – Arjan Dec 18 '11 at 19:18
  • @Arjan - I'd certainly be interested, but from reading his (her?) posts, it seems like he's a developer. I don't want to impose, but if they end up looking at this closer, I'd very much like to see the logs. – Jared Farrish Dec 18 '11 at 19:21
  • 2
    Yes, waffles is a SE employee, err, Valued Associate ;-) – Arjan Dec 18 '11 at 19:26
  • @Arjan or was. :-) – Shadow9 Jul 24 '14 at 13:04