Revert post to a specific revision

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.

21개의 좋아요

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

Nope.

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

10개의 좋아요

Very nice! Thanks! :thumbsup:

1개의 좋아요

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

1개의 좋아요

Also, what about the author?

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.

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

Already is.

Or so I believe based on the commit

Edit: And I just confirmed it on my sandbox

5개의 좋아요

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.

5개의 좋아요

Awesome. I’ve been wishing for this feature!

1개의 좋아요