Help:Revert a page

From Wikipedia, the free encyclopedia

Jump to: navigation, search

Each time a page is saved, the old version is kept in the page history. You can change the page back to one of these old versions. You can do this when a page has been vandalised, or when something has been added or removed when it should not have been.

Changing to an old version is called reverting.

Contents

[change] Reverting

To revert to an older version:

  • Go to the page, click on "history", 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'.
  • You will see something like "(Revision as of 07:52 January 28, 2007)" below the title.
  • Make sure this is the one you want to save, then click to edit the page, as you would normally.
  • You will get a warning, above the edit box, about editing an out-of-date revision.
  • Ignore the warning and save the page. Be sure to add the word "revert" to the edit summary. Say which one you are reverting to, and why you are doing this.

A revert is usually for dealing with vandalism. It is not a good idea to do this just because you don't like what someone did to a page. Instead, find a compromise (something you can both agree on) by talking about the issue on an article's 'talk' page.

[change] Reverts and edit conflicts

Reverts never cause an edit conflict. If you revert a page the same time someone else edits, you can overwrite their changes without knowing. Be careful reverting pages where lots of people are editing at once.

[change] Admin-only "rollback" link

On the User Contributions page a sysops can see "rollback" links.

The rollback link is also shown on the Diff page.

Clicking on the link reverts to the last edit made by a different user. The edit summary will say "Reverted edits by X to last version by Y".

If someone else has already reverted the page, you will see an error message.

If there is a vandal who needs all their edits reverted, the rollback lets you do this quickly.

[change] Bot rollback

In cases of flood vandalism (lots of vandalism by one user in a short time), sysops can hide the 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://en.wikipedia.org/w/wiki.php?title=Special:Contributions&target=BadVandal&bot=1.

When you click the rollback links, the revert, and the original edit that you are reverting will be hidden from the default Recentchanges display. It does this by marking the edits as "bot edits" (edits by a robot), which are hidden from recent changes.

The edits are not hidden from contributions lists, page histories or watchlists. The edits are still in the database and are not removed, but they no longer show up on Recentchanges. This is done so flood vandals do not annoy people using recent changes. This should not be used for reverting a change you just don't like, but is meant only for massive floods of simple vandalism.

[change] Undo

Latest versions of MediaWiki allow editors to revert a single edit from the history of a page without simultaneously undoing all constructive changes that have been made since. 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 undesirable edit has been removed but all later edits are retained. There is a default edit summary, but it can be changed. It is also possible to make further modifications before saving.

This feature removes the need to manually redo useful changes that were made after the edit which is being reverted. 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.

[change] Revert wars

A revert war is where two or more people keep on reverting to their own version. Revert wars do not help the aims of Wikipedia. They look bad, upset people and make the page history less useful.

Reverts should not be used for edit wars. Use the talk page to discuss the problem and find something you can agree on.

If you are in an edit war, never revert the page more than three times in the same day. On the English Wikipedia, people have been banned for a day for breaking this rule.

Ask other people what they think. Perhaps they can change the words of the text to stop the edit war. If it will not stop, ask an administrator to protect the page. You can ask this on Wikipedia:Simple talk, or on the Wikipedia:Administrators page, under the "current issues" section.