Revert post to a specific revision

feedback

(Arpit Jalan) #1

I just pushed a commit that will allow Staff to revert a post to a specific revision.

“Revert” button will appear at the bottom of every revision, clicking on this button will revert the post to that specific revision.

Revert button will only be visible to staff, and reverting a post will create a new revision.


Adding Undo edit post capability
(Michael Downey) #2

Cool! Does this remove all the revisions after the target revision number, or actually create a new version identical to the target version?


(Arpit Jalan) #3

Nope.

Yes, that is exactly what it does. Creates a new version identical to the target version.


#4

Very nice! Thanks! :thumbsup:


(Tobias Eigen) #5

Great new feature - thank you so much! :roller_coaster:


(Michael Downey) #6

Also, what about the author?


#7

What about the ability to revert if the user has permission to edit the post? This could come in handy for accidental overwrites on a wiki post.


(Joshua Rosenfeld) #8

Can this feature be extended to Staff, not just Admins?


(cpradio) #9

Already is.

Or so I believe based on the commit

Edit: And I just confirmed it on my sandbox


(Arpit Jalan) #10

This feature is only available for staff as of now.

I edited first post to make it clear that this feature is available for Staff.


(Lloyd Tabb) #11

Awesome. I’ve been wishing for this feature!


(Jeff Atwood) #12