Change History
(5)

But it's true that there are situations when the change to revert is not vandalism but simply a wrong information, and restoring the previous content is better accompanied in this case by a comment stating why the change was reverted.

In addition, with alternative TracDev/Proposals/WikiStorage that don't support version deletion, this feature will be the only way to quickly revert vandalism.

10099-wiki-revert-r10656.patch​ changes the "Edit this page" to "Revert to this version" when viewing an older version of a wiki page. When clicking the button, it opens the editor for a new version, with the text from the old version. From there, all the usual operations are possible, like viewing the diff.

(The big hunk in wiki_view.html around the "Delete" button is only a simplification and has nothing to do with this functionality.)

One thing's missing though: the UEB support! Clicking on the UniversalEditButton makes you edit the latest version, as before. I think that for consistency it should also make you revert to the version being viewed.

Add Comment

This ticket has been modified since you started editing. You should review the other modifications
which have been appended above, and any conflicts
shown in the preview below. You can nevertheless proceed and submit your changes if you wish so.