| steamroller.js | |
|---|---|
| Author | TheDragonFire |
| Updated | March 26, 2017 |
| Browsers | Any |
| Skins | Vector |
| Source | User:TheDragonFire/scripts/steamroller.js |
steamroller.js is a user script that requires confirmation before performing a rollback, and then automatically opens the user's contributions page after performing the rollback. The primary benefit of this script over User:MusikAnimal/confirmationRollback, is that it does this in a Twinkle compatible way, which means that the "Article" parameter is pre-filled when warning the user straight from their contributions page. This script also uses OOjs UI for the confirmation dialog, which some people find prettier.[weasel words]
Setup
[edit]Add the following to your common.js:
importScript('User:TheDragonFire/scripts/steamroller.js'); // Backlink: [[User:TheDragonFire/scripts/steamroller.js]]
Or if you want to install the script for use on all Wikimedia Foundation wikis, you can copy the following code to meta:Special:MyPage/global.js:
// Backlink: [[User:TheDragonFire/scripts/steamroller]]
importScriptURI('https://en.wikipedia.org/w/index.php?action=raw&ctype=text/javascript&title=User:TheDragonFire/scripts/steamroller.js');