Reverting refers to the act of returning a page to a previous state. All versions of a page are stored in the page history, so it is easy to revert an edit. Anyone who can edit may revert a page to a previous state. Reverting will not delete versions from the page history, and reversions can be reverted as well. Reverting a page is typically done to remove vandalism, although even good faith, positive edits may be reverted at times.
If your edit is reverted, it is not an attack against you or your opinions. Even experienced editors sometimes find their edits being reverted. There may be very good reasons or explanations as to why an edit was reverted. In any case, reverting should be done to protect or to improve the project.
How to revert[edit | edit source]
Before reverting, it is usually a good idea to stop and ask if there are any better options available than reverting. If you are reverting the contributions of a constructive editor, you should have a reason for your revert, and you should consider whether or not something better can be done that does not require reverting.
If you do choose to revert, you should explain why in your edit summary or, if your explanation is very long, at the talk page of the page in question. It is not necessary to explain your revert if you are removing obvious vandalism or spam.
Undo[edit | edit source]
There is an "undo" button available that can be used to revert a single edit. To use this button, go to the page history of the page you want to revert, or view the diff of the edit you want to revert. Then, click on "undo" next to the edit in question. You will be brought to the edit window. If it is possible to undo the edit, the wiki software will tell you and will automatically create an edit where the edit you are reverting has been removed. The software will also generate a default edit summary that you can modify. To complete the revert, simply click Publish page.
It is possible to undo edits that are not the latest edit on the page, and the software will try to revert that one edit without affecting the changes made in other edits. If this is not possible, you will be shown a message informing you of this.
Manual[edit | edit source]
If it is not possible to use the "undo" button, or if you need to revert multiple edits, you can use this method to restore a specific version of a page. To do this:
- Go to the page history of the page you want to revert.
- Click on the time and date of the earlier version that you want to revert to. You will see a message somewhere along the lines of: "This is an old revision of this page, as edited by User:Example (talk) at 15:47, January 24, Template:Math. It may differ significantly from the current revision."
- Click the "Edit" button like you normally would. You will see a message somewhere along the lines of: "You are editing an old revision of this page. If you save it, any changes made since then will be removed."
- Consider explaining the reason for your revert in the edit summary.
- Click Publish page to complete the revert.