Revision as of 20:00, 22 October 2007 view source68.192.164.31 (talk)No edit summary← Previous edit | Revision as of 22:02, 27 November 2024 view source GilaMonster536 (talk | contribs)Extended confirmed users1,005 edits →UndoNext edit → | ||
Line 1: | Line 1: | ||
{{Redirect|WP:REVERT|an introduction to reverting on Misplaced Pages|WP:Reverting}}{{Short description|Undoing an edit using the undo link}} | |||
{{h:h|editor toc}} | |||
{{pp-move-indef}} | |||
A '''revert''' is to undo all changes made to an article page after a specific time in the past. The result will be that the page becomes identical in content to the page saved at that time. However, in the context of the ], a revert is defined far more broadly as any change to an article that partially or completely goes back to any older version of an article. | |||
{{Pp-semi-protected||small=yes}} | |||
{{Misplaced Pages how to|H:RV|WP:REVERT}} | |||
On Misplaced Pages, '''reverting''' means ]ing or otherwise negating the effects of one or more edits, which typically results in the page (or a part of it) being restored to a previous version (in exact wording or in meaning). ''Partial reversion'' involves restoring one part of the page to a previous version, but leaving other contributions intact. ''Self-reversion'' is the act of reverting your own edits. Reverting does not always involve the use of the ] tool. Any method of editing that has the practical effect of returning some or all of the page to a previous version counts as a reversion. | |||
A '''partial revert''' is accomplished either by an ordinary edit of the current version, or by editing an old version. The former is convenient, for example, for a partial reversion of a recent addition, while the latter is convenient for a partial reversion of a deletion. | |||
Reverting a contribution is sometimes appropriate. However, reverting good-faith actions of other editors can also be disruptive and may lead to the reverter being temporarily ] from editing. The ] (part of the ] policy) limits the number of times an editor can revert edits (including partial reversions) on a page. | |||
Below is some Misplaced Pages-oriented text on reversion. | |||
== Before reverting == | |||
==When to revert== | |||
{{anchor|BEFORE}} | |||
Consider carefully before reverting, as it rejects the contributions of another editor, and all others' after the edit in question. Consider what you object to, and what the editor was attempting. Can you improve the edit, bringing progress, rather than reverting it? Can you ], or do you need to revert the whole thing? (The latter option is better executed through ].) | |||
In the edit summary or on the talk page, succinctly explain why the change you are reverting was a bad idea or why reverting it is a better idea. In cases of blatant vandalism, uncontroversially disruptive changes or unexplained removals, the amount of explanation needed is minimal. But in the event of a content dispute, a convincing, politely-worded explanation gains much importance and avoids unnecessary disputes. | |||
===Do=== | |||
* Reverting is '''a decision which should be taken seriously'''. | |||
* Reverting is used primarily for fighting ], or anything very similar to the effects of ]. | |||
* If you are not sure whether a revert is appropriate, discuss it first rather than immediately reverting or deleting it. | |||
* If you feel the edit is unsatisfactory, improve it rather than simply reverting or deleting it. | |||
* please do not revert it hurts others | |||
===Do not=== | |||
* Do not simply revert changes that are made as part of a dispute. Be respectful to other editors, their contributions and their points of view. | |||
* Do not revert good faith edits. In other words, try to consider the editor "on the other end." If what one is attempting is a positive contribution to Misplaced Pages, a revert of those contributions is inappropriate unless, and only unless, you as an editor possess firm, substantive, and objective proof to the contrary. Mere disagreement is not such proof. See also ]. | |||
* Generally there are misconceptions that problematic sections of an article or recent changes are the reasons for reverting or deletion. If they contain valid information, these texts should simply be edited and improved accordingly. '''Reverting is not a decision which should be taken lightly.''' | |||
* There's sometimes trouble determining whether some claim is true or useful, particularly when there are few people "on board" who are knowledgeable about the topic. In such a case, it's a good idea to raise objections on a talk page; if one has some reason to believe that the author of what appears to be biased material will not be induced to change it, editors have sometimes taken the step of transferring the text in question to the talk page itself, thus not deleting it entirely. This action should be taken more or less as a last resort, never as a way of punishing people who have written something biased. See also ] | |||
* Do not revert changes simply because someone makes an edit you consider problematic, biased, or inaccurate. '''Improve the edit, rather than reverting it'''. | |||
== |
==Manual reverting== | ||
There are several ways to revert edits. A reversion can be carried out manually by editing the page to delete wrongly added text or restore wrongly deleted text. You can do this by copying and pasting text from a past version. | |||
===Manual method=== | |||
* 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 to which you wish to revert. | |||
*Then when that page comes up, you'll see something like "(Revision as of 22:19 Aug 15, 2002)" below the title and beneath "From ], the 💕." | |||
* 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 consecutive 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" and a brief explanation for the revert to the ]. Some Wikipedians abbreviate "revert" as "rv" and "rvv" when reverting vandalism. A useful addition is to Wikilink the usernames associated with the versions you are reverting from and to. For example, a good edit summary would be <p><center> ''rv edits by ] to last version by ]'' <p>or <p><center> ''rvv edits by ] to last version by ]'' <p></center> | |||
The clickable links are created by entering <nowiki>]</nowiki> (replacing ''Username'' with the real ] or ] for logged-in users, and replacing ''Username'' with their real username). Thus for an edit summary that reverts vandalism you would typed exactly:<p><center> ''<nowiki>rvv edits by ] to last version by ]</nowiki>''</center></p> | |||
* Click on "history" 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. You are responsible for re-doing all the subsequent edits constructive which you undid. | |||
* 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 ]. | |||
You can also restore a past version of the page. To do this: | |||
===User Scripts=== | |||
# Click the '''View history''' tab at the top of the page to display the ]. | |||
* ]'s godmode-light.js script adds functionality similar to the admin ''rollback'' links described below. More info at ]. | |||
# Click the '''time and date''' (e.g. '''00:00, 1 January 1970''') of the earlier version to which you want to revert. You will see a warning similar to:<br>"{{int:revision-info|00:00, 1 {{int:january}} 1970|] {{int:parentheses|] {{int:pipe-separator}} ]}}|1234567|1 {{int:january}} 1970|00:00|Example| <span class="comment">{{int:parentheses|Example summary}}</span>}}" | |||
* The vandal edit can also be reverted using ]. | |||
#* '''Important:''' In the case of ], there may be multiple consecutive vandal edits or they may be interspersed between constructive edits. Be sure not to revert constructive edits by simply choosing the last version before the vandalism occurred. In these cases, the vandalism should be removed manually, or in other words, the constructive edits separated from the offending revisions. | |||
# Click the '''Edit''' tab as you normally would. Above the edit box, you will see a warning similar to:<br>''"You are editing an old revision of this page. If you publish it, any changes made since then will be removed. You may wish to edit the current revision instead."'' | |||
#* If editing requires a registered account, log in first, or go to the article's Talk page and ask a registered editor to take care of the matter. | |||
#* Explain what you're doing in the ] field. Use complete words, not abbreviations. For example, "Reverting ". | |||
# Preview the page, or review the changes. | |||
# Publish changes by clicking the button. | |||
#* In the Revision history, your revision will automatically be tagged with ''(]: {{int:Tag-mw-manual-revert}})''. Some MediaWiki extensions also pop up a text box saying "✅ The page has been restored." | |||
#* Optional: Go to the Talk page and explain what you've done, and why. | |||
==Undo== | ==Undo== | ||
{{shortcut|WP:UNDO}} | {{shortcut|WP:UNDO}} | ||
{{redirect|WP:UNDO|the neutral point of view policy governing due and undue weight|WP:UNDUE}} | |||
Instead of removing all changes after a certain version, the latest versions of MediaWiki allow a single edit or set of contiguous edits to be undone. To do this, view the ] 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 ]. | |||
The MediaWiki software sometimes enables editors to easily revert (undo) 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 ] or the ] for the edit, then click on "undo" next to the edit in question. 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 this can be modified before saving. | |||
It is also possible to undo several consecutive edits, even if they conflict among themselves: view the "diff" to be removed (by selecting the earliest and most recent revisions in the history and clicking "compare selected revisions"), and click the "undo" link. | |||
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. | |||
==Admin features== | |||
===Mobile=== | |||
===Rollback===<!-- This section is linked from ] --> | |||
On the ] page, ] have the additional "rollback" links at lines which are the last edit made by anybody to that article. Some user scripts (mentioned below) also give users the ability to rollback with an automated edit summary. The rollback link is also shown on the ] when viewing the difference between any version of the page and the most recent one. | |||
Clicking on the link reverts to the previous edit not authored by the last editor, with an automatic ] of "Reverted edits by X (talk) to last version by Y," which marks the edit as "minor." If, between loading the User Contributions page and pressing "rollback," someone else edits or rolls back the page, or if there was no previous editor, you will get an error message. | |||
By default, undo functionality is not available in Misplaced Pages's mobile user interface. If advanced mode is enabled, undo is available from history pages (but not from diff pages). Undo is also available to mobile users with ] enabled. See {{Phab|T191706}} for further discussion. | |||
The rollback link on the diff page is somewhat misleading because 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 would revert, view the ''corresponding'' diff page. | |||
==Rollback== | |||
Rollbacks should be used with caution and restraint, in part because they leave no explanation for the revert in the edit summary. Reverting a good-faith edit may therefore send the message that "I think your edit was no better than vandalism and doesn't deserve even the courtesy of an explanation." It is a slap in the face to a good-faith editor. If you use the rollback feature for anything other than vandalism or for reverting yourself, it's polite to leave an explanation on the article talk page, or on the talk page of the user whose edit(s) you reverted. | |||
{{seealso|Misplaced Pages:Rollback}} | |||
] and editors who have been granted access to the rollback feature have additional links that: | |||
* appear only next to the top edit | |||
* revert ''all'' top consecutive edits made by the last editor | |||
* work immediately, without the intermediate confirmation diff page | |||
* add automatic ] ''<span class="comment">{{int:revertpage|Helpful contributor|Vandal}}</span>'', marking edit as ] | |||
Rollback links appear on the ] pages, ], ], ] and ]. 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 that compares the last version from the last editor with the last version from the previous editor. | |||
The rollback link looks similar to this: | |||
]] | |||
Rollback works much more quickly 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 Publish changes 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 fewer edits than the rollback does, or edits that do not include the last edit. It also does not allow adding an explanation to the automatic edit summary without external scripts. Rollback without an edit summary should only be used in ]; most commonly to revert ]. Rolling back a good-faith edit or even during an ] may be interpreted as "I think your edit was no better than vandalism, and reverting it doesn't need an explanation". The rollback right can be revoked on misuse: refer to ]. | |||
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. | |||
===Twinkle=== | |||
The ] gadget provides similar functionality. It displays three links when viewing the latest ] of a page: | |||
*"rollback (])" (in green) is used to revert good-faith edits, so an edit summary is required. | |||
*"rollback" (in blue) allows providing an edit summary without describing the edits as "good faith". | |||
*"vandalism" (in red), which should only be used to revert obvious vandalism, since it does not allow providing an edit summary. | |||
===Bot rollback=== | ===Bot rollback=== | ||
In cases of flood vandalism, |
In cases of flood vandalism (rapid changes to many articles), administrators and ] may choose to hide vandalism and reverts from ]. To do this, add <kbd>&bot=1</kbd> to the end of the URL used to access a user's contributions. For example: http://en.wikipedia.org/w/index.php?title=Special:Contributions&target=SomePersistentVandal&bot=1. | ||
When the rollback links on the contributions list are clicked, the revert |
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 in the Recent Changes to set <kbd>hidebots=0</kbd>. 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. | ||
==Reverting images== | |||
==Revert wars considered harmful== | |||
To revert an image to a previous version, go to the image page and click on "File history." | |||
===Reasons=== | |||
Revert wars are usually considered harmful for the following reasons: | |||
# They disrespect the work of the contributor. Being reverted can feel a bit like a slap in the face: "I worked hard on those edits, and someone just rolled it all back" | |||
# They cause ill-will between users and negatively destabilize articles | |||
# They make the ] less useful, waste space in the database | |||
# They make it hard for other people to contribute, and flood recent changes and watchlists | |||
You will then see a list of past edits and a thumbnail graphic of each. Logged-in users will also see a "Revert" link for versions other than the current one. Click on a Revert link to make the change. | |||
Editors are discouraged to revert because there is disagreement, or the edit is bad or problematic. Users are encouraged to explore alternate methods like raising the objections on a talk page, or following the processes in ]. | |||
If the image is at ] you must click through to the image page there to do the revert. Then scroll down to the thumbnails. Beside the thumbnail you wish there will be the word "Revert". You will need to be logged in at Commons. | |||
===Three revert rule=== | |||
:''Main article: ]'' | |||
In consideration of the harm of reverting, ] states that you may not revert any article more than three times in the same day. This is a very strict limit, not a given right; you should not revert any one article more than three times daily. | |||
==Reverting multiple non-contiguous edits== | |||
===Explain reverts=== | |||
Ultimately, it is the responsibility of the person reverting edits on the page to be sure that any intervening helpful edits are not reverted, or unhelpful edits re-applied to the article. | |||
When a revert is necessary, it is very important to let people know ''why'' you reverted. This helps the reverted person because they can remake their edit, but fixing whatever problem it is that you've identified. | |||
In some instances, it is possible to progressively undo changes starting from the most recent and working backward in time, skipping those edits which are not to be reverted. The success of being able to do this will depend on where the various edits are located within the article text. If they overlap or are close together within the text, the software will consider them to be conflicting with more recent edits and not permit an "undo" operation. In some cases, it is easier to begin with this technique as it may revert at least some of the unhelpful edits, providing a point from which it is easier to begin hand editing. | |||
Explaining reverts also helps other people. For example, it lets people know whether they need to even view the reverted version (in the case of, eg, "rv page blanking"). Because of the lack of non-verbal communication online, if you don't explain things clearly people will probably assume all kinds of nasty things, and that's one of the possible causes for edit wars. | |||
When considering reverting multiple edits, one should examine all the intervening edits. These are often a mix of both helpful and unhelpful edits. The goal is to remove the effect of the unhelpful edits and leave the helpful ones. This can be done either by undoing the unhelpful edits or reverting to a version of the page prior to the beginning of the unhelpful edits and re-applying, by hand, the helpful edits. To re-apply helpful edits, or revert unhelpful edits, it is usually easier to copy-and-paste portions of a version of the article which contains, or does not contain those edits. In complex situations, this may result in combining portions of text from multiple versions of the article. The choice of starting this process from the current version as your base text, or using a prior version as your base will depend on the relative extent and localization within the article text of the changes which are to be kept and those to be reverted. It is usually easier to have the by-hand operation be on localized areas of text, rather than those changes spread throughout an article. This can be a long (hours) and complex process. It can be quite helpful to use the "Show changes" button in the edit window to compare the current diff against a diff, in a different tab or window, of the changes which you are attempting to remove or re-apply. | |||
If your reasons for reverting are too complex to explain in the ], drop a note on the Talk page. A nice thing to do is to drop the note on the Talk page ''first'', and ''then'' revert, rather than the other way round. Sometimes the other person will agree with you and revert for you before you have a chance. Conversely, if someone reverts your change without apparent explanation, you may wish to wait a few minutes to see if they explain their actions on the article's talk page or your user talk page. | |||
If you are re-applying edits by other editors, you should state the original author(s) and which edit(s) in your edit summary to provide appropriate credit. If you are reverting to a prior version with the intent of re-applying changes in follow-up edits, you should explicitly say so in the edit summary of your reversion and use the {{tl|in use}} template to indicate to other editors that you are working on the article. This is particularly important because the editors responsible for any edits which you have reverted will immediately be notified that their edit has been reverted. If there is no indication that you are working on the article, particularly if you are working to re-apply helpful edits, the other editors may edit the article in the intervening time, creating an edit conflict. Having an edit reverted can be upsetting to other editors, particularly if considerable time and effort were put into performing the edit. If you are planning to re-apply such edits, it is best to let the editors know that up-front. | |||
===Exceptions=== | |||
Edits that don't contribute to ] are generally considered to be exceptions to the 3-revert rule. Such edits may include reverts of obvious vandalism, reverts of banned users, or removal of potentially libelous text. See ] for a fuller explanation. | |||
The choice of method to use in complex situations is often based on your experience with the process and the available tools. Keep in mind that if you get into a situation which you find difficult to resolve, it is always possible to completely revert your own edit(s) and return the article to the condition in which you found it before the edit. | |||
Please ] 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 ]. | |||
{{h:f|enname=Reverting}} | |||
==See also== | ==See also== | ||
* ] – List of tools that can be used to make reverts | |||
*] - For new users who need help dealing with vandalism properly. | |||
* ] (policy) | |||
* ] | |||
* ] (essay) | |||
* ] (essay) | |||
* ] (essay) | |||
* ] (essay) | |||
* {{section link|Misplaced Pages:Vandalism|Template and CSS vandalism}} (policy) – if the edits don't appear in the page's edit history, or the history and edit tabs are obscured | |||
* ] – overview of types of reverting actions and revert detection methods for analysis purposes | |||
{{Misplaced Pages technical help|collapsed}} | |||
] | |||
] | |||
] | |||
] | |||
] | |||
] | |||
] |
Revision as of 22:02, 27 November 2024
"WP:REVERT" redirects here. For an introduction to reverting on Misplaced Pages, see WP:Reverting.Undoing an edit using the undo link
This help page is a how-to guide. It explains concepts or processes used by the Misplaced Pages community. It is not one of Misplaced Pages's policies or guidelines, and may reflect varying levels of consensus. | Shortcuts |
On Misplaced Pages, reverting means undoing or otherwise negating the effects of one or more edits, which typically results in the page (or a part of it) being restored to a previous version (in exact wording or in meaning). Partial reversion involves restoring one part of the page to a previous version, but leaving other contributions intact. Self-reversion is the act of reverting your own edits. Reverting does not always involve the use of the undo tool. Any method of editing that has the practical effect of returning some or all of the page to a previous version counts as a reversion.
Reverting a contribution is sometimes appropriate. However, reverting good-faith actions of other editors can also be disruptive and may lead to the reverter being temporarily blocked from editing. The three-revert rule (part of the edit warring policy) limits the number of times an editor can revert edits (including partial reversions) on a page.
Before reverting
Consider carefully before reverting, as it rejects the contributions of another editor, and all others' after the edit in question. Consider what you object to, and what the editor was attempting. Can you improve the edit, bringing progress, rather than reverting it? Can you revert only part of the edit, or do you need to revert the whole thing? (The latter option is better executed through an undo action.)
In the edit summary or on the talk page, succinctly explain why the change you are reverting was a bad idea or why reverting it is a better idea. In cases of blatant vandalism, uncontroversially disruptive changes or unexplained removals, the amount of explanation needed is minimal. But in the event of a content dispute, a convincing, politely-worded explanation gains much importance and avoids unnecessary disputes.
Manual reverting
There are several ways to revert edits. A reversion can be carried out manually by editing the page to delete wrongly added text or restore wrongly deleted text. You can do this by copying and pasting text from a past version.
You can also restore a past version of the page. To do this:
- Click the View history tab at the top of the page to display the page history.
- Click the time and date (e.g. 00:00, 1 January 1970) of the earlier version to which you want to revert. You will see a warning similar to:
"This is an old revision of this page, as edited by Example (talk | contribs) at 00:00, 1 January 1970 (Example summary). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.Revision as of 00:00, 1 January 1970 by Example (talk | contribs) (Example summary)"- Important: In the case of vandalism, there may be multiple consecutive vandal edits or they may be interspersed between constructive edits. Be sure not to revert constructive edits by simply choosing the last version before the vandalism occurred. In these cases, the vandalism should be removed manually, or in other words, the constructive edits separated from the offending revisions.
- Click the Edit tab as you normally would. Above the edit box, you will see a warning similar to:
"You are editing an old revision of this page. If you publish it, any changes made since then will be removed. You may wish to edit the current revision instead."- If editing requires a registered account, log in first, or go to the article's Talk page and ask a registered editor to take care of the matter.
- Explain what you're doing in the edit summary field. Use complete words, not abbreviations. For example, "Reverting ".
- Preview the page, or review the changes.
- Publish changes by clicking the button.
- In the Revision history, your revision will automatically be tagged with (Tag: Manual revert). Some MediaWiki extensions also pop up a text box saying "✅ The page has been restored."
- Optional: Go to the Talk page and explain what you've done, and why.
Undo
Shortcut "WP:UNDO" redirects here. For the neutral point of view policy governing due and undue weight, see WP:UNDUE.The MediaWiki software sometimes enables editors to easily revert (undo) 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 page history or the diff for the edit, then click on "undo" next to the edit in question. 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 this can be modified before saving.
It is also possible to undo several consecutive edits, even if they conflict among themselves: view the "diff" to be removed (by selecting the earliest and most recent revisions in the history and clicking "compare selected revisions"), and click the "undo" link.
Mobile
By default, undo functionality is not available in Misplaced Pages's mobile user interface. If advanced mode is enabled, undo is available from history pages (but not from diff pages). Undo is also available to mobile users with desktop view enabled. See T191706 for further discussion.
Rollback
See also: Misplaced Pages:RollbackAdministrators and editors who have been granted access to the rollback feature have additional links that:
- appear only next to the top edit
- revert all top consecutive edits made by the last editor
- work immediately, without the intermediate confirmation diff page
- add automatic edit summary Reverted edits by Vandal (talk) to last version by Helpful contributor, marking edit as minor
Rollback links appear on the user contributions pages, user watchlists, recent changes 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 that compares the last version from the last editor with the last version from the previous editor.
The rollback link looks similar to this:
Rollback works much more quickly 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 Publish changes 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 fewer edits than the rollback does, or edits that do not include the last edit. It also does not allow adding an explanation to the automatic edit summary without external scripts. Rollback without an edit summary should only be used in certain circumstances; most commonly to revert obvious vandalism. Rolling back a good-faith edit or even during an edit war may be interpreted as "I think your edit was no better than vandalism, and reverting it doesn't need an explanation". The rollback right can be revoked on misuse: refer to its main page.
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.
Twinkle
The Twinkle gadget provides similar functionality. It displays three links when viewing the latest diff of a page:
- "rollback (AGF)" (in green) is used to revert good-faith edits, so an edit summary is required.
- "rollback" (in blue) allows providing an edit summary without describing the edits as "good faith".
- "vandalism" (in red), which should only be used to revert obvious vandalism, since it does not allow providing an edit summary.
Bot rollback
In cases of flood vandalism (rapid changes to many articles), administrators and global rollbackers may choose to hide vandalism and reverts 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/search/?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 in the Recent Changes 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.
Reverting images
To revert an image to a previous version, go to the image page and click on "File history."
You will then see a list of past edits and a thumbnail graphic of each. Logged-in users will also see a "Revert" link for versions other than the current one. Click on a Revert link to make the change.
If the image is at Wikimedia Commons you must click through to the image page there to do the revert. Then scroll down to the thumbnails. Beside the thumbnail you wish there will be the word "Revert". You will need to be logged in at Commons.
Reverting multiple non-contiguous edits
Ultimately, it is the responsibility of the person reverting edits on the page to be sure that any intervening helpful edits are not reverted, or unhelpful edits re-applied to the article.
In some instances, it is possible to progressively undo changes starting from the most recent and working backward in time, skipping those edits which are not to be reverted. The success of being able to do this will depend on where the various edits are located within the article text. If they overlap or are close together within the text, the software will consider them to be conflicting with more recent edits and not permit an "undo" operation. In some cases, it is easier to begin with this technique as it may revert at least some of the unhelpful edits, providing a point from which it is easier to begin hand editing.
When considering reverting multiple edits, one should examine all the intervening edits. These are often a mix of both helpful and unhelpful edits. The goal is to remove the effect of the unhelpful edits and leave the helpful ones. This can be done either by undoing the unhelpful edits or reverting to a version of the page prior to the beginning of the unhelpful edits and re-applying, by hand, the helpful edits. To re-apply helpful edits, or revert unhelpful edits, it is usually easier to copy-and-paste portions of a version of the article which contains, or does not contain those edits. In complex situations, this may result in combining portions of text from multiple versions of the article. The choice of starting this process from the current version as your base text, or using a prior version as your base will depend on the relative extent and localization within the article text of the changes which are to be kept and those to be reverted. It is usually easier to have the by-hand operation be on localized areas of text, rather than those changes spread throughout an article. This can be a long (hours) and complex process. It can be quite helpful to use the "Show changes" button in the edit window to compare the current diff against a diff, in a different tab or window, of the changes which you are attempting to remove or re-apply.
If you are re-applying edits by other editors, you should state the original author(s) and which edit(s) in your edit summary to provide appropriate credit. If you are reverting to a prior version with the intent of re-applying changes in follow-up edits, you should explicitly say so in the edit summary of your reversion and use the {{in use}} template to indicate to other editors that you are working on the article. This is particularly important because the editors responsible for any edits which you have reverted will immediately be notified that their edit has been reverted. If there is no indication that you are working on the article, particularly if you are working to re-apply helpful edits, the other editors may edit the article in the intervening time, creating an edit conflict. Having an edit reverted can be upsetting to other editors, particularly if considerable time and effort were put into performing the edit. If you are planning to re-apply such edits, it is best to let the editors know that up-front.
The choice of method to use in complex situations is often based on your experience with the process and the available tools. Keep in mind that if you get into a situation which you find difficult to resolve, it is always possible to completely revert your own edit(s) and return the article to the condition in which you found it before the edit.
See also
- Misplaced Pages:Cleaning up vandalism/Tools – List of tools that can be used to make reverts
- WP:Three-revert rule (policy)
- WP:Twinkle
- WP:Reverting (essay)
- WP:Alternatives to reversion (essay)
- WP:Baby and bathwater (essay)
- WP:Revert only when necessary (essay)
- Misplaced Pages:Vandalism § Template and CSS vandalism (policy) – if the edits don't appear in the page's edit history, or the history and edit tabs are obscured
- m:Research:Revert – overview of types of reverting actions and revert detection methods for analysis purposes
Misplaced Pages technical help | |
---|---|
Get personal technical help at the Teahouse, help desk, village pump (technical), talk pages or IRC. | |
General technical help | |
Special page-related | |
Wikitext | |
Links and diffs | |
Media files: images, videos and sounds | |
Other graphics | |
Templates and Lua modules | |
Data structure | |
HTML and CSS | |
Customisation and tools | |
Automated editing | |