dev

This script/stylesheet is for PERSONAL use only!

You are free to install this script/stylesheet for yourself, but it is not allowed to be used wiki-wide (e.g., in MediaWiki:ImportJS, MediaWiki:Common.js, MediaWiki:Common.css, MediaWiki:Fandomdesktop.js, MediaWiki:Fandomdesktop.css, or MediaWiki:FandomMobile.css), as it would violate Fandom's Terms of Use.
(See the customization policy)

WHAM is a script that adds a "quick tools" popup to a user's contribution page, allowing for various functions. The tool was originally developed for SOAP/Staff; however, any user is free to use the tool. Staff/SOAP-only functions have been disabled; the original can be found here.

Features

Installation

Usage

The script will only load if you are a rollbacker or above in regards to user rights. It will also load for SOAP, wiki-specialists, global Discussions moderators and staff globally. If you would like to change the default delay between rollbacks/deletions, change the WHAMDelay variable to whatever number you wish as seen in the example below (1000 = 1 second). If you would like to have the bot toggle button available, you can add WHAMBotMe = true above the import below (this isn't needed for SOAP/staff as it loads by default). To customize the default delete message, modify the WHAMDeleteReason variable. An additional optional variable would be WHAMBotReason for the reason of turning your bot flag on/off and WHAMBlockReason for default block reason. If this is not specified, it will default to "Cleanup" and "Vandalism".

Note: "All of the options" does not include the "Bot/Unbot me" action.

An example of the optional bot variables in action:

window.WHAMBotMe = true;
window.WHAMBotReason = "Cleanup";
window.WHAMDelay = 100;
window.WHAMDeleteReason = "Housekeeping.";
window.WHAMBlockReason = "Vandalism";
Text above can be found here (edit)