FANDOM


All versions of an article are stored, so it is easy to revert a bad edit and return the article to its previous state.

Reverting vandalism

  • Go to the page, click on "history" at the top ("Page history" in some skins), and click on the time and date of the earlier version you want to revert to. It will not work if you click on 'cur' or 'last'.
  • Then when that page comes up, you'll see something like "(Revision as of 23:19 Aug 15, 2002)" below the title.
  • Verify that you've selected the correct version, and click to edit the page, as you would normally. Important: in the case of vandalism, take the time to make sure that you are reverting to the last version without the vandalism; there may be multiple vandal edits.
  • You'll get a warning, above the edit box, about editing an out-of-date revision.
  • After heeding the warning, save the page. Be sure to add the word "revert" to the edit summary (often abbreviated as "rv"). It is common practice to mention the version of the page that you're reverting back to in the description as well, though you don't have to do so.

Reverting non-vandalism

Non vandal edits can also be reverted if you think an older version of a page is better than the current version. This is done in the same way as described above, but you should take care not to over-write someone's edit without reason. A third version that takes the best bits of the other two, and combines them to get the best of both worlds, will often be preferable to reverting a genuine edit. You should save reverts for cases where the new version is actively worse.

Undo

Instead of removing all changes after a certain version, the latest versions of MediaWiki allow a single edit to be undone. To do this, view the diff for the edit, and click on 'undo' above the newer version. The software will attempt to create an edit page with a version of the article in which the undone edit doesn't exist but all later edits are retained. The automatic edit summary added when using the undo feature can be found at MediaWiki:Undo-summary.

This feature removes the need to manually redo useful changes since the "undone" edit. However, it will fail if undoing the edit would conflict with later edits. For example, if edit 1000 adds a paragraph and edit 1005 modifies that paragraph, it will be impossible to automatically undo edit 1000. In this case, you must determine how to resolve the problem manually.

Reverts by administrators

Administrators have a rollback link on diff pages and on user contribution lists that lets them revert vandalism faster.

Clicking on the link reverts to the last edit not authored by the user concerned. An edit summary will be added automatically stating that a reversion was made. The edit will be marked as minor.

In cases of flood vandalism, admins can choose to hide vandalism from recent changes. To do this, add &bot=1 to the end of the url used to access a user's contributions. For example, http://www.wikia.com/index.php?title=Special:Contributions&target=SomePersistentVandal&bot=1. When the rollback links on the contributions list are clicked, the revert, and the original edit that you are reverting will both be hidden from the default recent changes display. This means that they will be hidden from recent changes unless you click the "bots" link to set hidebots=0. The edits are not hidden from contributions lists, page histories, or watchlists. The edits remain in the database and are not removed, but they no longer flood recent changes. The aim of this feature is to reduce the annoyance factor of a flood vandal with relatively little effort. This should not be used for reverting a change you just don't like, but is meant only for massive floods of simple vandalism.

Guidelines when reverting

You should always explain why you are reverting an article. This helps the reverted person to fix whatever problem it is that you've identified and explains to other people whether they need to even view the reverted version. If your reasons for reverting are too complex to explain in the edit summary, explain it on the talk page.

Revert wars are not acceptable. High-frequency reversion wars make the page history less useful, waste space in the database, make it hard for other people to contribute, and flood recent changes and watchlists. See the advice on staying cool when the editing gets hot at Wikipedia.

Video

Reverting a wiki article

Reverting a wiki article

See also

Reverting is the ability to return a page to its previous state. All versions of a page are stored in the history of a page, so it is easy to revert a bad edit and return the page to its previous state.

Step by step

All users have the ability to revert to a previous version of a page.

One edit reversion

Reverting with undo

The undo link is located at the end of the line for each edit

If you would like to undo just one edit you simply need to:

  • Go to the history of the page
  • Next to the edit summary is a link that says Undo, click on this and you will be brought to the edit window, which shows the difference in edits on top.
  • Leave an edit summary and then hit save, and the edit will be un-done.

Multi edit reversion

This allows you to return to a specific version of the page, undoing multiple edits.

  • Go to the history of the page
  • Click on the time and date of the earlier version you want to revert to.
  • Then when that page comes up, you'll see something like "(Revision as of 23:19 Aug 15, 2002)" below the title.
  • Verify that you've selected the correct version, and click to edit the page, as you would normally.
  • You'll get a warning, above the edit box, about editing an out-of-date revision.
  • Important: in the case of vandalism, take the time to make sure that you are reverting to the last version without the vandalism; there may be multiple vandal edits.
  • Once you are sure the revision you are looking at is good, save the page. Be sure to add the word "revert" to the edit summary. On some wikis it is common practice to mention the date/time of the version of the page that you're reverting back to in the description as well.

Notes

  • You should always explain why you are reverting an article. This helps the reverted person to fix whatever problem it is that you've identified and explains to other people whether they need to even view the reverted version. If your reasons for reverting are too complex to explain in the edit summary, explain it on the talk page, and add "See talk page" in the edit summary.
  • Revert wars - where two or more editors revert each other's edits over and over - are a bad idea. High-frequency reversion wars make the page history less useful, make it hard for other people to contribute, and flood recent changes, followed pages and Wiki Activity. Unless it's simple vandalism, when someone undoes a reversion you've made, you should stop and talk to them using the article talk page or their user talk page before reverting again. Assume good faith, communicate the problem you see in their edit, and you will almost always be able to find a compromise that allows editing on the article to move forward without further disruption.

What is rollback, and how do I use it?

Reverting with rollback

The rollback link is located before the undo button

Administrators, Content Moderators and users with rollback rights have an extra "rollback" link on history, diff and user contribution pages that lets them revert vandalism faster, without the extra steps of going to the page history and opening an earlier revision. The feature is especially useful in the case of a known vandal, whose edits don't need to be checked before being reverted.

  • Clicking on the link reverts to the last edit not authored by the user concerned. An edit summary will be added automatically stating that a reversion was made, and the edit will be marked as minor.
  • Only use this for reverting vandalism. It should not be used to revert an edit that you merely disagree with.
  • If between loading the user contributions page and pressing rollback, someone else has edited or rolled back the page already, the message "Rollback failed" will display with an explanation of the problem.
  • If the page has been created by a malicious user and nobody else has edited the page, clicking the rollback link gives the message "Cannot revert edit; last contributor is only author of this article". In this case delete the page, or replace the content with something appropriate to the page name if possible.
  • Always assume good-faith before rollbacking an edit.

Can I hide flood vandalism reverts from recent changes?

A "flood" occurs when a vandal makes edits to many pages very quickly in an attempt to make the recent changes page unusable, by filling it with their own nonsense edits (and the reversions which fix the damage). In these cases, admins can choose to hide vandalism from recent changes. To do this, add ?bot=1 (or &bot=1 if the URL already has a question mark in it) to the end of the URL used to access a user's contributions. For example, https://community.fandom.com/wiki/Special:Contributions/SomePersistentVandal?bot=1. When the rollback links on the contributions list are clicked, the revert, and the original edit that you are reverting will both be hidden from the default recent changes display.

This means that they will be hidden unless you click the "show bots" link on the Recent changes page (to set hidebots=0). The edits are not hidden from contributions lists, page histories or followed pages. The edits remain in the database and are not removed, but they no longer flood recent changes. The aim of this feature is to reduce the annoyance factor of a flood vandal with relatively little effort. This should not be used for reverting a change you just don't like, but is meant only for massive floods of simple vandalism.

See also

Further help and feedback

Community content is available under CC-BY-SA unless otherwise noted.