10

(I couldn't find this request on Meta after looking. Related question Unknowingly Editing an Edited Post and a very similar but different request: Pending edits should be advertised)

I saw a post by a new user that had a poorly-worded title, so I opened the question to improve the title. In the course of doing so, I saw much of the post needed improvements as well, so I started making changes. Halfway through my initial revision, I saw a grey line pop-up that said "this question has been edited", so I finished the bit I was editing, and then hit "Save Edits", not wanting to lose my progress, and saw the post had been edited by meagar, whose edit was much smaller than mine and also an edit that was achieved by my more-comprehensive edit already.

What I didn't see, that I expected to, was a big red warning message that said "Warning, another user has edited this post. Yours will be rejected unless it is more substantial". Now, sometimes I do see that warning. Why didn't I see it this time? And can we fix that?

Now, as it turns out, my edit was combined with meagar's (no notification of this, however. I had to find out for myself while checking the revisions ex post facto). I saw meagar make another edit with a bit more substance, but still less than my original one, so I rolled back to mine, thinking it was still the only revision to accept based on total substance.

This led to a messy couple of minutes and an unintentional edit duel (I wouldn't quite call it a war) that even roped in a passing moderator (I had hoped to link to the comments, but BoltClock has already cleaned them up. I had commented to let meagar know I was making substantial edits, and BoltClock said "No, let the budding moderator do it.").

Now I don't have a problem with the comments clean up (though it's a minor annoyance that I can't link to them), or that someone else also wanted to make edits in good faith. The problem I have here is that the scenario shouldn't have happened at all; meagar should not have been able to start editing the post to begin with, since I was already in the process of editing it.

So my request is similar to the (somewhat new) Review Queue freeze:

Please freeze a post's edit feature (let's say for two minutes) while an edit is already underway. The OP (and possibly moderators) should be able to override this, due to his or her unique qualifications of adding new information to the question.

32
  • That comment was meant in good humor btw, though I can see why it might not have been taken as such in this situation.
    – BoltClock Mod
    Commented Apr 16, 2015 at 16:35
  • 5
    The problem there is that people can either maliciously or unintentionally hold a lock without actually spending time improving a post, preventing anyone else from doing anything.
    – Servy
    Commented Apr 16, 2015 at 16:51
  • Rather than temporarily freezing editing, what about simply notifying the user that someone else is actively editing the post at the same time? Commented Apr 16, 2015 at 16:59
  • As it is non-trivial to grab the source of a post some times, I will find myself clicking 'edit' to get at the raw markdown. (the non-trivial way: grab the url, tweak 'questions' to 'posts' and title slug to 'revisions', meta.stackoverflow.com/posts/290465/revisions then click on 'source' which gives you the raw source ... but that's a multi step process compared to 'edit' and 'copy' and a pain if there are no other revisions - and answers are even more complicated in that initial step)
    – user289086
    Commented Apr 16, 2015 at 17:01
  • @BoltClock I did take it as humor. I was just going to use it to reference your passing by.
    – TylerH
    Commented Apr 16, 2015 at 17:36
  • @Servy I don't think this behavior exists. Maliciously preventing someone from improving a post? You wouldn't know someone else wanted to improve it beforehand. Do you have any example of it? Anyway, two minutes is really not that long, and once it's up, others can start editing again like they can now. If people are really hampered by this, then it just means they get to move on to new questions to edit that much quicker.
    – TylerH
    Commented Apr 16, 2015 at 17:39
  • @JoshCrozier Because that's an additional, unnecessary step that invites stress, confusion, concern, etc. "Oh, someone else is editing? Is my edit better? Is theirs? What parts are they editing? I've wasted a click and sometime by starting an edit that might be superseded" etc. This feature would simply prevent that step from happening.
    – TylerH
    Commented Apr 16, 2015 at 17:40
  • @TylerH Why do people do anything malicious? It's one way to troll people, just keep opening up posts for editing to stop people from fixing problems. As for unintentional cases, it's easy enough to open for editing and then navigate away, open up the window and then get pulled way from the compute, lose your connection, etc. Tons of ways to start editing and not finish. If the lock time is short enough to not be a bother, then it's not long enough to make a comprehensive edit. If it's long enough to allow for comprehensive edits, they'll frequently inhibit quality edits.
    – Servy
    Commented Apr 16, 2015 at 17:43
  • 1
    Your proposed feature would add more stress, confusion, concern, etc. Currently editing conflicts happen, but they're largely quite rare, and are not hard at all to manage.
    – Servy
    Commented Apr 16, 2015 at 17:45
  • @Servy If there is really abuse in this form (I doubt it. Maybe we can assuage your fears by making it a privilege? "Editing a post locks other users out for a very short time" at 2k/5k/10k or something) then it should and will be flagged for moderators, assuming they don't also write some code to detect when people click "edit" and don't make any changes.
    – TylerH
    Commented Apr 16, 2015 at 17:47
  • @Servy Obviously I disagree; I think you're missing the point. It's to serve as an impassable notification that someone else has already started editing the post. I do think there needs to be better management of the red "your post needs to be more substantial than the one that was just made" warning, but that's not enough. Preventing conflicting edits only reduces confusion/stress/concern. It moves the onus of responsibility for editing something off of you, the concerned passerby.
    – TylerH
    Commented Apr 16, 2015 at 17:49
  • @Servy Also re: concern about 2 mins not being enough to make a comprehensive edit... sure, you can't re-write a 10-paragraph question in that time, but most questions are not hugely involved, and a substantial edit (relative to the amount of text) only takes a minute or two. Further, as the timer draws closer to 0, a simple notice can appear "your edit lock is about to expire. It's recommended that you save your edit now and continue again if you're still making changes." for questions that are 1> day old. But yes, after the lock expires, other users should always get that red warning.
    – TylerH
    Commented Apr 16, 2015 at 17:57
  • 1
    @TylerH I'm not missing you're point, I simply disagree with it. You seem to be radically overestimating how often edit conflicts happen, how hard they are to resolve, and underestimating the problems that would arise by locking posts for editing every time someone starts editing. I've spent a lot of time editing a lot of posts; I've found editing conflicts to happen extremely rarely, and fixing up after them is not hard at all. You're trying to solve a problem that just isn't a problem that needs solving.
    – Servy
    Commented Apr 16, 2015 at 18:03
  • 1
    People making very short edits are people who aren't going to have many conflicting edits because they're, by definition, short. And when they do happen, since they're small edited, they're easy to resolve after the fact. It's only larger edits that are both more likely to result in conflicts, and take more time to resolve when there is a conflict, that really need to be considered here. If you don't address that case, then your solution isn't even solving the minuscule problem that exists.
    – Servy
    Commented Apr 16, 2015 at 18:05
  • @Servy How hard they are to solve or how often they happen isn't the primary concern. It happened, so it's a concern. Time is our most precious commodity. It took time for me to make that edit and time for meagar to make his, and it took (read: wasted) additional time for us both because of the conflicts/lack of clarity surrounding the edit system. Preventing those conflicts from happening only saves time. I have edited a lot of posts, too, and this doesn't happen very often. But when it does, it's a big annoyance. This solution solves it for all problems, miniscule or otherwise.
    – TylerH
    Commented Apr 16, 2015 at 18:08

0

You must log in to answer this question.

Browse other questions tagged .