Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 158 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

I just had an occasion where someone reformatted the code in my question, not because it was ill-formatted, but to match his preferred style. I would have liked to be able to type a reason for rolling back the edits when I did so - could the ability to do that be added?

share|improve this question
up vote 45 down vote accepted

This feature already exists!

  1. Open up the revision history on the post you wish to roll back.
  2. Click "edit" on the revision you wish to roll back to.
  3. Type your reason for rolling back into the "Edit Summary" field.
share|improve this answer
Well, I'll be! That's far from obvious. – Lawrence Dol Mar 12 '10 at 0:10
@SoftMon: it might not be an obvious feature, but it's there nonetheless. – perbert Mar 12 '10 at 0:11
IMHO, the feature itself is reasonably obvious... It's just that it allows so much more than simply leaving a comment on a rollback that thinking of it in those terms can be a bit difficult. – Shog9 Mar 12 '10 at 0:31
If you weren't aware of the 5-minute grace period on edits, there's no way you would know that this is the case. – Mark Henderson Mar 12 '10 at 0:45
@Farseeker: Eh? The grace period only matters when you made the last edit (vs. a straight rollback, which completely ignores/obliterates any grace period). It made demonstrating this a bit more involved, but in normal use you'd be rolling back someone else's edit and the grace period wouldn't apply. – Shog9 Mar 12 '10 at 0:49
Oh, my apologies, I mis-read what you wrote.... – Mark Henderson Mar 12 '10 at 0:53
The Hunting of the Snark! – please delete me Dec 18 '11 at 20:38
This is very not obvious as the 'edit' button is next to the 'rollback' button, and if I had to guess which one a user would press when they want to roll something back I'd place my bets on... well, no no, I don't want to give it away. – Jason C Aug 14 '13 at 2:26
It's a pretty uncommon need, @jason – Shog9 Aug 14 '13 at 2:48
Maybe I'm an uncommon user? I've wanted to leave at least a brief explanation of every single rollback I've ever done (and now I know how). – Jason C Aug 14 '13 at 2:57
Heh... Yeah, I've known about this for years and, while it's certainly nice in certain situations, I wouldn't consider it particularly essential, @Jason. But hey - now you know! – Shog9 Aug 14 '13 at 2:58

I agree, clicking rollback should definitely have an rollback-reason or comment input, same as editing does

While you can workaround this by using the "edit" button on an older revision, the rollback button is what I would naturally click in such a situation

I guess a slightly more drastic solution would be to remove the rollback button, and rename "edit" button the revisions page to "revert to this revision". Not only would it inherently prompt for a reason when "rolling back", it better describes what the edit button does (plus gives a nice preview of what the rolled-back question will look like)

share|improve this answer

Having the possibility to specify immediately the reason of rollback would be a beneficial feature. With no drawback. Leaving a motivation note should be in fact an encouraged behaviour.

The proposed workaround also doesn't work at all if the rollback happened too long in the past, with no error notification (I am allowed to edit and to save, but the change is not there afterwards). For example, I cannot specify anymore the rollback reason for this.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .