Revision as of 04:00, 14 March 2024 view sourceK6ka (talk | contribs)Administrators115,289 editsm →Bot rollback: missed another unneeded comma← Previous edit | Latest revision as of 20:29, 9 January 2025 view source Waddie96 (talk | contribs)Extended confirmed users, Page movers, Pending changes reviewers, Rollbackers10,810 edits →Mobile: c/e s/cTag: Visual edit | ||
(15 intermediate revisions by 8 users not shown) | |||
Line 4: | Line 4: | ||
{{Misplaced Pages how to|H:RV|WP:REVERT}} | {{Misplaced Pages how to|H:RV|WP:REVERT}} | ||
'''Reverting''' on Misplaced Pages refers to the process of ]ing or otherwise negating the effects of one or more edits, typically restoring the page, or a section of it, to a previous version in either exact wording or meaning. This action can take various forms. ''Partial reversion'' involves restoring a specific part of the page to a prior version while retaining other edits. ''Self-reversion'' involves an editor undoing their own previous edits. | |||
Reversion does not necessarily require the use of the ] tool. Any editing method that effectively returns the page to a previous state is classified 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 ] from editing. The ] (part of the ] policy) limits the number of times an editor can revert edits (including partial reversions) on a page. | |||
While reverting can sometimes be appropriate, undoing ] can disrupt collaboration and lead to disputes. Excessive or unjustified reversions may result in administrative actions against the user performing the reverts, including a temporary editing ]. To prevent edit warring, the ] (as outlined in Misplaced Pages's ]) restricts an editor from making more than three reversions—including partial ones—on a single page within a 24-hour period. | |||
== Before reverting == | |||
{{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 ]) | |||
== Before reverting<span class="anchor" id="BEFORE"></span> == | |||
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. | |||
Before performing a revert, carefully consider the consequences of dismissing another editor's contributions, as well as any subsequent edits linked to the original change. Assess the specific elements of the edit that are problematic and contemplate the editor's intentions. Rather than reverting entirely, consider improving the edit to enhance the article's quality. If only a portion of the edit is objectionable, a ] may be more appropriate; complete reversions should be used sparingly and are effectively executed using the ]. | |||
In the ] or on the article's talk page, provide a succinct explanation detailing why the change is being reverted or why the reversion is beneficial. In instances of blatant ], clearly ], or ], a brief explanation may suffice. However, in situations involving content disputes, offering a well-reasoned and politely worded justification is important to avoid unnecessary disagreements and to promote constructive collaboration. | |||
==Manual reverting== | ==Manual reverting== | ||
{{see also|Help:Simple guide to vandalism cleanup}} | |||
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. | |||
Reverting edits can be done in several ways. One method is ''manual reversion'', which involves directly editing the page to remove content that was incorrectly added or to restore content that was mistakenly removed. This process may require copying and pasting text from an earlier version of the page to ensure accuracy and consistency. | |||
Another approach is the use of the ], which allows editors to revert specific changes quickly by selecting the relevant edits from the ]. | |||
You can also restore a past version of the page. To do this: | You can also restore a past version of the page. To do this: | ||
# Click the |
# Click the "View history" tab at the top of the page to display the page history. | ||
# Click the |
# Click the {{Var|time and date}} (e.g. {{Fake link|00:00, 1 January 1970}}) of the earlier version to which you want to revert to. You will then navigate to that earlier version of the page and see a warning at the top of the page similar to:<br>{{blockquote|{{tmbox|image=none|style= border: 1px solid #886425;|text={{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>}}}}}} | ||
#* |
#* {{a note}} In the case of ], there may be multiple consecutive vandal edits or they may be interspersed between constructive edits. Be sure not to revert (intermediate) 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 |
# Click the "Edit" tab as you normally would. Above the edit box, you will see an edit notice similar to:<br>{{blockquote|{{tmbox|image=none|style= border: 1px solid #886425; width: 50%;|text=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 |
#* If editing the page requires a registered account, log in first. Alternatively go to the article's talk page and ask a registered editor to take care of the matter by making an ] if the page is highly trafficked, or ask for help at the ] for pages with low traffic. | ||
#* Explain what you |
#* Explain what you are doing in the ] field. Use complete words, not abbreviations. For example, "Reverting ". | ||
# Preview the page, or review the changes. | # Preview the page, or review the changes. | ||
# Publish changes by clicking the button. | # Publish changes by clicking the {{Button|Publish changes}} button. | ||
#* In the |
#* In the page 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 |
#* Optional: Go to the talk page and explain what you have 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}} | |||
The MediaWiki software sometimes enables editors to easily revert ( |
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. | 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=== | ===Mobile=== | ||
{{Tracked|T312640|open}} | |||
In the mobile web interface, editors cannot – by default – easily access mechanisms for undoing edits. With ] (AMC) turned on, editors can access an "undo" button on page histories ''only'', which opens the ] undo interface.{{Update inline|date=January 2025|reason=Possibly now updated? See ] and ]. User:Waddie96 can rollback pages on diff pages but that may be because they are a rollbacker.}} | |||
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. | |||
==Rollback== | ==Rollback== | ||
Line 61: | Line 65: | ||
* does not require a click of the Publish changes button | * 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 |
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. | 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. | ||
Line 70: | Line 74: | ||
*"rollback (])" (in green) is used to revert good-faith edits, so an edit summary is required. | *"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". | *"rollback" (in blue) allows providing an edit summary without describing the edits as "good faith". | ||
*"vandalism", which should only be used to revert obvious vandalism, since it does not allow providing an edit summary. | *"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=== |
Latest revision as of 20:29, 9 January 2025
"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 |
Reverting on Misplaced Pages refers to the process of undoing or otherwise negating the effects of one or more edits, typically restoring the page, or a section of it, to a previous version in either exact wording or meaning. This action can take various forms. Partial reversion involves restoring a specific part of the page to a prior version while retaining other edits. Self-reversion involves an editor undoing their own previous edits.
Reversion does not necessarily require the use of the undo tool. Any editing method that effectively returns the page to a previous state is classified as a reversion.
While reverting can sometimes be appropriate, undoing good-faith contributions can disrupt collaboration and lead to disputes. Excessive or unjustified reversions may result in administrative actions against the user performing the reverts, including a temporary editing block. To prevent edit warring, the three-revert rule (as outlined in Misplaced Pages's edit warring policy) restricts an editor from making more than three reversions—including partial ones—on a single page within a 24-hour period.
Before reverting
Before performing a revert, carefully consider the consequences of dismissing another editor's contributions, as well as any subsequent edits linked to the original change. Assess the specific elements of the edit that are problematic and contemplate the editor's intentions. Rather than reverting entirely, consider improving the edit to enhance the article's quality. If only a portion of the edit is objectionable, a partial reversion may be more appropriate; complete reversions should be used sparingly and are effectively executed using the undo tool.
In the edit summary or on the article's talk page, provide a succinct explanation detailing why the change is being reverted or why the reversion is beneficial. In instances of blatant vandalism, clearly disruptive edits, or unexplained content removal, a brief explanation may suffice. However, in situations involving content disputes, offering a well-reasoned and politely worded justification is important to avoid unnecessary disagreements and to promote constructive collaboration.
Manual reverting
See also: Help:Simple guide to vandalism cleanupReverting edits can be done in several ways. One method is manual reversion, which involves directly editing the page to remove content that was incorrectly added or to restore content that was mistakenly removed. This process may require copying and pasting text from an earlier version of the page to ensure accuracy and consistency.
Another approach is the use of the undo tool, which allows editors to revert specific changes quickly by selecting the relevant edits from the page history.
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 to. You will then navigate to that earlier version of the page and see a warning at the top of the page 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) - Note: 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 (intermediate) 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 an edit notice 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 the page requires a registered account, log in first. Alternatively go to the article's talk page and ask a registered editor to take care of the matter by making an edit request if the page is highly trafficked, or ask for help at the Help desk for pages with low traffic.
- Explain what you are 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 Publish changes button.
- In the page 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 have 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
Tracked in PhabricatorTask T312640
Open
In the mobile web interface, editors cannot – by default – easily access mechanisms for undoing edits. With Advanced Mobile Contributions (AMC) turned on, editors can access an "undo" button on page histories only, which opens the desktop view undo interface.
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 | |