From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
User script
UpdatedMarch 19, 2015; 3 years ago (2015-03-19)
Browser supportAny
Skin supportAny

confirmationRollback-mobile is a user script that requires confirmation before performing rollback on mobile devices. This is useful as it is easy to accidentally tap the rollback links on a touch screen.

When a rollback link is tapped (or clicked), a popup will appear stating the number of edits you are about to rollback and who made them. Simply hit OK to rollback, or Cancel to abort.

See also confirmationRollback which will require confirmation before performing rollback on desktop as well as mobile. There's also rollbackTouch which will hide rollback links on mobile devices altogether.


This script is default-enabled as a gadget on the English Wikipedia. To disable, go to Special:Preferences#mw-prefsection-gadgets, uncheck "Require confirmation before performing rollback on mobile devices" and hit save.

To install the script for use on all Wikimedia Foundation wikis, you can copy the following code to meta:Special:MyPage/global.js:

// Linkback: [[User:MusikAnimal/confirmationRollback-mobile]]