Help:Reverting

Reverting means returning an article to an earlier version. More broadly, reverting may also refer to any action that reverses the actions of others.

Revert vandalism on sight, but revert a good faith edit only as a last resort. Edit warring is prohibited. See. Editors should provide an explanation when reverting.

When to revert
Revert vandalism and other abusive edits upon sight but revert a good faith edit only as a last resort. A reversion can eliminate "good stuff," discourage other editors, and spark an edit war. So if you feel the edit is unsatisfactory, then try to improve it, if possible - reword rather than revert. Similarly, if only part of an edit is problematic then consider modifying only that part instead of reverting the whole edit - don't throw the baby out with the bathwater.

Don't revert to undo a good faith reversion of your change. If there is a dispute, the status quo reigns until a consensus is established to make a change. Instead of engaging in an edit war, propose your reverted change on the article's talk page or pursue other dispute resolution alternatives.

If you are not sure whether a revert is appropriate then first propose the reversion on the article's talk page. If there is reason to believe that the author of problematic material will not be induced to change it, editors sometimes choose to transfer the text in question to the talk page itself, thus not deleting it entirely.

Explain reverts
It is particularly important to provide a valid and informative explanation when you perform a reversion. A reversion is a complete rejection of the work of another editor and if the reversion is not adequately supported then the reverted editor may find it difficult to assume good faith. This is one of the most common causes of an edit war. A substantive explanation also promotes consensus by alerting the reverted editor to the problem with the original edit. The reverted editor may then be able to revise the edit to correct the identified problem. The result will be an improved article and a more knowledgeable editor.

In addition to helping the reverted editor, providing information regarding the reversion will help other editors by letting them know whether - or not - they need to even view the reverted version, such as in the case of blanking a page. Explaining reverts also helps users who check edit histories to determine the extent to which the information in the article is reliable or current.

If your reasons for reverting are too complex to explain in an edit summary, leave a note on the article's Talk page. It is sometimes best to leave a note on the Talk page first and then revert, rather than the other way around; thus giving the other editor a chance to agree with you and revise their edit appropriately. Conversely, if another editor reverts your change without any apparent explanation, you may wish to wait a few minutes to see if they explain their actions on the article's or your user's talk page.

Manual method

 * Go to the top of the page in question, click on the "history" or "page history" (in some skins) tab; then, click on the "time and date" of the earlier version, to which you wish to revert.
 * When that page displays, you will see a phrase similar to: "This is an old revision of this page, as edited by ***.*.***.*** (Talk) at 15:47, January 24, 2009. It may differ significantly from the current revision."
 * Verify that you have selected the correct "old revision" version and click on the "edit this page" tab, as you would normally do.
 * 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 consecutive vandal edits or they may be interspersed between the constructive edits.
 * Above the edit box, you will see a warning similar to: "You are editing an old revision of this page. If you save it, any changes made since then will be removed."
 * Ignore this warning and save the page. Be sure to add the word "revert" or the abbreviation "rv" and a brief explanation for the revert to the "edit summary". It is possible to wikilink the usernames associated with the versions that you are reverting from and to.
 * For example, when reverting vandalism by a user identified only by an IP address, an edit summary would be:  
 * When the username is known, an edit summary would be:  
 * Note: when reverting blatant vandalism, "rvv" normally suffices, as speed is more important than a full edit summary with usernames or IP addresses.


 * Click on the "history" tab again. A new line will have been added and you will be able to verify (by clicking on "last") that you undid the vandalism, plus all subsequent bona fide edits, if any. It is courteous to redo all the constructive edits that were undone, along with the edit(s) which you intended to revert. This should always be done, where it is reasonably possible.
 * In a vandalism case, where sections of text were simply deleted and then subsequent edits were made by others, it may be easier for you to cut and paste those missing sections of text back in, than to revert and then re-do the edits.
 * Check the contribution history of the user who vandalized the article. (Click on the IP address for anonymous users or the "contribs" for registered users.) If this user is vandalizing many articles, please report them to administrator intervention against vandalism at Wikipedia or to the relevant administrators' noticeboard on other projects.

User shortcuts

 * Sam Hocevar's godmode-light.js script adds functionality similar to the admin rollback links described below. More info at WP:US.
 * The vandal edit can also be reverted using popups or monobook-suite.

Reverting images
In order to revert an image to a previous uploaded version, go to the image page and click on "File history". The File history section of the image displays the full history of edits to the image alongwith a thumbnail of each version. Logged-in users can see a "revert" link for every version other than the current version. Clicking on a version's revert link makes that version the current version.

Undo
The 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, then 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.

Misuse
Vandals may click "undo" next to reversions of vandalism to easily load the vandalism back onto the page. These actions are reverted and treated as vandalism.

Rollback
Administrators and other editors who have been granted access to the rollback feature have additional links which:
 * appear only next to the top edit
 * revert all top consequent edits made by last editor
 * work immediately, without the intermediate confirmation diff page
 * add automatic edit summary "m Reverted edits by Example (talk) to last version by Example2", marking edit as minor

Rollback links appear on the user contributions pages, history pages and diff pages. Note that in the last case, rollback links can be misleading, since reversion is not necessarily to the old version shown (the diff page may show the combined result of edits, including some by other editors or only part of the edits the rollback button would revert). To see the changes the rollback button will revert, view the specific diff, which compares the last version from the last editor with the last version from the previous editor.

Rollback works much quicker than undo, since it:
 * allows reverting without even looking at the list of revisions or diff
 * does not require loading an edit page and sending the wikitext back to the server
 * does not require a click of the save button

On the other hand, it is not as versatile as undo, since it does not allow specification of which edits have to be undone. One may want to revert more or less edits than the rollback does or edits which do not include the last edit. It also does not allow adding an explanation to the automatic edit summary. Rollback is supposed to be used to revert obvious vandalism.

Rolling back a good-faith edit, without explanation, may be misinterpreted as "I think your edit was no better than vandalism and reverting it doesn't need an explanation". Some editors are sensitive to such perceived slights; if you use the rollback feature other than for vandalism (for example, because undo is impractical due to the large page size), it is courteous to leave an explanation on the article's talk page or on the talk page of the user, whose edit(s) you have reverted.

If someone else edited or rolled back the page before you clicked the "rollback" link, or if there was no previous editor, you will get an error message.

Bot rollback
In cases of flood vandalism, administrators may 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://en.wikipedia.org/w/wiki.phtml?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 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.

Reasons
Revert wars are usually considered harmful, for the following reasons:
 * 1) They cause ill-will between users, negatively destabilize articles and make other editors wary of contributing.
 * 2) They waste space in the database, make the page history less useful and flood the recent changes and watchlists.
 * 3) Some editors may be sensitive and to them, a revert is "a bit like a slap in the face"; for example: "I worked hard on those edits and someone just rolled it all back".
 * 4) They often produce inconsistencies in an article's content, because the editors involved focus only on one part of the article without considering other sections or articles that depend on it.

Resolutions
Editors should not revert simply because of disagreement. Instead, explore alternative methods, such raising objections on a talk page or following the processes in dispute resolution.

Three-revert rule
As a means to limit edit wars, Wikipedia's policies and guidelines state that one may not revert any article more than three times in the same 24-hour period. This is a hard limit, not a given right. Attempts to circumvent the three-revert rule, such as making a fourth revert just after 24 hours, are strongly discouraged and may trigger the need for remedies, such as an editing block on one's account.

Exceptions
Edits that do not contribute to edit warring, are generally considered to be exceptions to the three-revert rule, such as reverts of obvious vandalism, reverts of banned users or removal of potentially libelous text.

Please request protection rather than reverting. Violation of this rule may lead to protection of the page on the version preferred by the non-violating party, blocking or investigation by the Arbitration Committee.

Wikipedia-specific help
In Wikipedia, it is recommended to link to the "Special:Contributions" page, instead of the "user page" (which may not yet exist), of a user that can only be identified by their IP address. It has also become more common to not link to the second user name, which would be that of the editor of the version that one is reverting to.


 * For example, a rendering of the edit summary would be:

rv edits by 000.000.00.00 to last version by User Name
 * or for reverting vandalism:

rvv edits by 000.000.00.00 to last version by User Name


 * Examples of the codes typed into the edit summary would be:

 
 * or for reverting vandalism:

 

Instead of using abbreviations, one may prefer to use the following:
 * for reverting:

 Reverted edits by 000.000.00.00 to last version by User Name 
 * or for reverting vandalism:

 Reverted vandalism edits by 000.000.00.00 to last version by User Name   Reverted edits by 000.000.00.00 to last version by User Name; vandalism   Reverted edits by 000.000.00.00 to last version by User Name; rvv 

ar:مساعدة:استرجاع de:Hilfe:Wiederherstellen fa:راهنما:واگردانی ko:위키백과:이전 버전으로 되돌리기 yi:װיקיפּעדיע:צוריקדרייען

de:Hilfe:Wiederherstellen es:Ayuda:Cómo revertir una edición fa:راهنما:واگردانی it:Aiuto:Rollback ja:Help:以前の版にページを戻す方法 pt:Ajuda:Guia de edição/Reverter edições simple:Help:Revert a page