User:MusikAnimal/confirmationRollback-mobile

User script
confirmationRollback-mobile.js
Author(s)MusikAnimal
UpdatedMarch 19, 2015; 9 years ago (2015-03-19)
BrowsersAny
SkinsAny
SourceMediaWiki:Gadget-confirmationRollback-mobile.js

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.