Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Wikipedia:Rollback

Page semi-protected
From Wikipedia, the free encyclopedia
Guideline on the rollback user right
Not to be confused withTwinkle's "rollback" feature orRedWarn's "rollback-like" feature, which can be used by anyautoconfirmed user withTwinkle orRedWarn enabled.

This page documents an English Wikipediabehavioral guideline.
Editors should generally follow it, thoughexceptions may apply.Substantive edits to this pageshould reflect consensus.
iconYou takefull responsibility for any actions taken using Rollback. You must read and abide by all relevantWikipedia policies when using this tool; failure to do so may result in you losing access to the tool or beingblocked from editing.

This page is for explaining the technical details of a Wikipedia user permission, and the policies involving its use.


Wikipedia rollbacker icon

The MediaWikirollbackuser right provides users with a button that willrevert, with a single click, the last edit to a given page, along with anyconsecutive previous edits made by the same editor to that page. It is used to undo problematic edits such asvandalism. Some counter-vandalism tools also require the user to possess the rollback user right to use the tool.

An editor with rollback user rights will see a buttonrollback:n edits next to relevant revisions on pages such as theirwatchlist, onuser contributions pages (including their own), and on theedit history of pages.

MediaWiki rollback is enabled and available to alladministrators automatically and can be given to other users upon request, subject to the approval of an administrator. A user who has been assigned this right explicitly is called arollbacker. There are currently826 administrators and6,998 rollbackers (7,824 total; however, most of these accounts haven't edited for years), not includingglobal rollbackers andstewards who have been assigned the right across allWikimedia projects.

Where the following text refers to MediaWiki rollback, it means the form of rollback built in to theMediaWiki editing software.MediaWiki rollback may only be used in certain situations. As with any other tool, editors who misuse MediaWiki rollback (for example, by using it to makeunexplained reversions ofgood-faith edits in situations where an explanatoryedit summary or talk page note would normally be expected) may have their rollback rights removed. Since rollback is part of the core administrator tools, theoretically an admin could bestripped of their administrative privileges entirely to remove those tools.

How it works

Users with the MediaWiki rollback permission have extra "rollback" links next to revisions on therecent changes page,page histories,diffs,user contribution pages, and theirwatchlist:

Clicking one of these links restores the page to the most recent revision that isnot made by the revision's author. This appears in the page history with a generic summary that looks like this:

m Reverted edits byVandal (talk) to last version by Helpful contributor

A link to the reverted user's contribution history is provided, so that it may be easily checked for further problematic edits. The link on the user's name does not appear if you are reverting contributions done by a user whose username is not visible, previously having beenremoved orsuppressedprior to the reversion, the result being "a hidden user":

m Reverted edits by a hidden user to last version by Helpful contributor

If the username is removedafter reversion, the default edit summary remains and will need to be deleted separately in its entirety:

m Reverted edits byGrossly offensive or libellous username (talk) to last version by Helpful contributor

All edits using the MediaWiki rollback feature aretagged with the "Rollback" tag inrecent changes andpage histories.

Technical limitations:

  • The rollback button only appears next to the most recent revision of a page.
  • You cannot choose which revision will be restored. It is always the last revisionnot made by the author of the most recent revision. This revision may be problematic too, so be careful.
  • If there are multiple consecutive edits to the page by the same author, they willall be reverted. To remove only some of them (or part of each edit), you must revert the changes manually orundo them separately.
  • You cannot use rollback on a page which has only been edited by one person, as there would be nothing to revert to.
  • You cannot use rollback to restore arevision that has been deleted orsuppressed. Attempting to do so will display an error message.
  • Rollback happens immediately; there is no confirmation or preview on the desktop site (although a page is displayed, allowing you to see the changes you have made).
  • Rollbacks are automatically marked as a "minor edit".

Other tools can perform similar edits with non-generic edit summaries; see theAdditional tools section below.

Mobile

MediaWiki rollback can be used on the mobile web interface by enabling advanced mode in settings—which can be accessed by tapping the three-bar menu at the top left of the screen next to the Wikipedia logo—which allows access to it inpage histories,diff pages, users'contributions, and users'watchlists without needing to switch to desktop view.

By default, each click on the MediaWiki rollback link requires confirmation, to prevent misclicks on mobile.

When to use rollback

Shortcut

MediaWiki rollback is a fast way of undoing problematic edits, but it has the disadvantage that special tools are required to provide a customedit summary. MediaWiki rollbackmay be used:

  1. To revert obviousvandalism and other edits where the reason for reverting is absolutely clear
  2. To revert edits in your ownuserspace
  3. To revert edits that you have made (for example, edits that you accidentally made)
  4. To revert edits bybanned orblocked users in defiance of their block or ban (but be prepared to explain this use of rollback when asked to)
  5. To revert widespread edits (by a misguided editor or malfunctioning bot) unhelpful to the encyclopedia, provided that you supply an explanation in an appropriate location, such as at the relevant talk page[1]
  6. With a custom edit summary explaining thereason for reverting the changes.

As with any other methods of reverting, when using rollback torestore text to a page, ensure that the content being restored does not violate anyWikipedia policies.

MediaWiki rollback and edit summaries

The built-in MediaWiki rollback link does not provide an option to provide a custom edit summary, though someuser scripts and tools allow this. Use of MediaWiki rollback with the default summary for any other purposes (such as reverting good-faith changes which you happen to disagree with) is likely to be considered misuse of the tool because those edits should be explained. When in doubt, use another method of reversion, supply a custom edit summary to explain your reasoning, or start a discussion on the talk page.

Also, do not use the default rollback edit summary when it will contain disruptive text which may need to berevision-deleted. For example, avoid use of the default edit summary to revert edits made by an account with an unambiguously offensive, insulting, or egregious username that violates Wikipedia'susername policy. MediaWiki rollback automatically includes the username of the editor who made the edits you are removing.

Shortcuts

Editors must take full responsibility for any action they perform, regardless of the tools they are using. Regardless of the methods or means that are used to perform the actual reversions, Administrators may revoke the MediaWiki rollback user right, remove other tools, or impose a block in response to any editor who ispersistently failing to provide needed explanations for their reverts. However, admins should normally notify or warn the editor sufficiently first, and allow the editor the time and opportunity to respond and explain their reversions before taking any action, as there may be justification of which the administrator is not aware (such as reversion of edits made by a banned user), and because the edits may have been explained in another location.

Similarly, editors who persistently engage inedit warring –especially those who have a history of doing so – may have their MediaWiki rollback permissions revoked as a precaution, regardless of the methods or means that were used to engage in the behavior. Additionally, administrators who persistently misuse MediaWiki rollback may theoretically have their administrator permissions revoked by theArbitration Committee, solely in order to remove the rollback user rights from them.[2]

Requesting rollback rights

To request MediaWiki rollback rights, ask atWikipedia:Requests for permissions/Rollback or ask one of the administrators listedhere. Anyadministrator may grant or revoke rollback rights, using theuser rights page.

While there is no fixed requirement, a request is unlikely to be successful without a contribution history that demonstrates an ability to distinguish well-intentioned edits with minor issues from unconstructive vandalism.Rollback is not for very new users: it is unlikely that editors with under 200mainspace edits will have their request granted. In addition, editors with a recent history of edit warring will often not be granted rollback given concerns of abuse.

If you have been granted rollback rights, you may wish totest it out using these instructions.

Accidental use of rollback

What to do with accidental rollbacks

Because MediaWiki rollback only takes a single click, without asking for confirmation, even experienced users may sometimes accidentally click rollback when attempting to click somewhere else. If this occurs, simply revert your edit manually, with an edit summary like "Self-revert accidental use of rollback". You could rollback the rollback, but this can cause confusion for others who look at the page history.

If MediaWiki rollback is used accidentally instead of undo to revert a good-faith edit, you could take a quick look to see if there is anything in the article you could improve (like a typo), and while making that edit also add the reason for the earlier reversion. You could also explain the reason for reversion on the talk page of the user who made the edit or on the article talk page, if appropriate. Alternatively, you can follow the rollback with adummy edit (not anull edit), with an edit summary like "Accidental use of rollback –your reason for the original reversion". This won't change the edit summary for the original rollback edit, but it will help people understand why you reverted the original edit.

Ways to reduce the risk of accidental misclicks

Editors have the option of installing any of the multipleuser scripts that enable mandatory confirmation from the user before rolling back an edit. This is enabled by default on mobile devices via the "Require confirmation before performing rollback on mobile devices"gadget.

It is possible to hide the[rollback] links atSpecial:Watchlist (where most accidental clicks happen) while leaving[rollback] links available in other locations (e.g.,diffs). SeeWP:Customizing watchlists for instructions.

Additional tools

It is also possible to make rollback and rollback-like edits with an explanatory edit summary (instead of the default edit summary). Various editing tools let you do this; for example, see thislist of tools.

Custom edit summaries for MediaWiki rollback

To manually add a custom edit summary with MediaWiki rollback, you can hand-edit the URL. First, copy the URL of the rollback link. Depending on your browser, this might be done by control-clicking on the [rollback] link on a history page so you can copy the URL. Then paste the URL into your browser's address bar, and append&summary= followed by your desired summary to the end of the URL.

Twinkle and RedWarn/Ultraviolet

Example diff showing bothTwinkle (top line:AGF,rollback, andvandal) and MediaWiki rollback (third line)

The patrolling toolsTwinkle andRedWarn/Ultraviolet have rollback-like features in similar places to the MediaWiki rollback links, and (as of 2024) they also call them "rollback". Unlike MediaWiki rollback, these scripts may be used by anyautoconfirmed user. The scripts do basically the same thing as MediaWiki rollback, but they differ in their choice of edit summaries, and, in some small but significant ways, in their behavior.[3] Twinkle and RedWarn/Ultraviolet also offer additional options.

Users with the MediaWiki rollback user right and these scripts installed will see multiple "rollback" links, which can be confusing (see the picture). Twinkle's rollback feature can be disabled by unticking every box in the optionShow rollback links on these pages: atTwinkle preferences.

Mobile

As of now, Twinkle rollback links are available on the mobile web interface when advanced mode is enabled in the settings. However, accessing RedWarn/Ultraviolet and the full features of Twinkle requires switching to desktop view on any Wikipedia page.

Alternatively, mobile users can install a third-party patch calledUser:Plantaest/TwinkleMobile, which includes most of Twinkle’s features.

User scripts

For further customization, you can use the following user scripts:

See also

Notes

  1. ^See alsoWP:Requests for arbitration/Ryulong#Rollback.
  2. ^Although theoretically possible, as of 2024, it is unclear whether anyone has ever been de-sysopped primarily for misuse of MediaWiki Rollback.
  3. ^Namely:
    • Rollback customization scripts, includingmassRollback, only work on MediaWiki rollback.
    • Twinkle/RedWarn/Ultraviolet rollback is slightly slower than MediaWiki rollback and uses twoAPI calls instead of one. (RedWarn/Ultraviolet will conduct its rollbacks using MediaWiki rollback if the user is a rollbacker. Twinkle will still use the slower form even if the user is a rollbacker.)
    • MediaWiki rollback is subject to a slightly more forgiving rate limit (as of April 2022, 100 per minute, versus 90 per minute for all other kinds of edits, including Twinkle/RedWarn/Ultraviolet rollback).
    • MediaWiki rollback edits areexempt from the edit filter, while Twinkle/RedWarn/Ultraviolet rollback is not (although some edit filters manually exempt it).
Wikipediaaccounts andgovernance
Unregistered users
Registered users
Account security
Blocks, bans, sanctions,
global actions
Related to accounts
User groups
andglobal user groups
Advanced user groups
Committees and related
Governance
Retrieved from "https://en.wikipedia.org/w/index.php?title=Wikipedia:Rollback&oldid=1324554117"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp