WHAM

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 VSTF/Staff, however, any user is free to use the tool (see comments in /code.js). Staff/VSTF-only functions have been disabled; the original can be found here.

Features

 * Quick block: Easily block a user. Ban duration and reason can be edited. Stock duration is "2 weeks"; stock reason is "vandalism".
 * Delete all pages: Delete all pages and comments a user has made.
 * Version 2 features the ability to also delete message wall/forum threads via the delete option.
 * Rollback all edits: Rollback all edits a user has made.
 * All of the above: Block a user, delete all pages made by that user, and rollback all edits the user has made.
 * Bot/Remove bot: Toggle bot status on/off for a user. (not included in version 2, since most wikis don't allow admins/bureaucrats to make users bots)

Version 2 provides less coding overall and a more server-styled interface.

Usage
Generally, this script will only work if you have admin (bureaucrat for unbot) access to the wiki it's being used on. However, "rollback all edits" can be used by users with rollback rights.

Installation
To use this script, add the below to your personal global.js on Community Central, which will enable the script globally (for you only on all wikis). If you only want to use it on a single wiki, you can add it to Special:MyPage/common.js on the wiki of your choosing.

If you're already using, you can import the script by adding the below to the article list.