User:Gestrid/confirmationRollback
Jump to navigation
Jump to search
confirmationRollback is a user script that requires confirmation before performing rollback.
When a rollback link is clicked, a popup will appear asking if you are sure you want to perform the rollback. Simply hit OK to rollback, or Cancel to abort.
See also rollbackTouch which will hide rollback links on mobile devices altogether.
Setup
Add the following to your common.js:
importScript('User:MusikAnimal/confirmationRollback.js'); // Linkback: [[User:MusikAnimal/confirmationRollback.js]]
Attribution
This script originally came from a user on Wikipedia here and is available under the Creative Commons Attribution-ShareAlike 3.0 Unported License. See this page for details on how to legally reuse this content.