Extension:BlockAndNuke

The Block and Nuke extension allows sysops to mass block spam accounts and delete all contributions made by those spam accounts, in just two clicks.

Installation

 * 1) Download the files from Git or download a snapshot (select your version of MediaWiki) and place the files under $IP/extensions/BlockandNuke
 * 2) Add to the end of LocalSettings.php
 * you must set the path for the whitelist.txt file
 * eg $wgWhitelist = ("http://www.mysite.com/extensions/BlockandNuke/whitelist.txt");
 * 1) Installation can now be verified through Special:Version on your wiki
 * 1) Installation can now be verified through Special:Version on your wiki

Use
Edit file extensions/BlockandNuke/whitelist.txt. List all registered users whose contributions to your wiki are not spam. This list must be edited manually. One username per line. eg

Admin

Dorris

Sam

If you wiki database was set up with a prefix to the tables please edit the following lines of code, adding your prefix: file: extensions/BlockandNuke/BlockandNuke.body.php edit lines 59 and 138: change 'FROM recentchanges' to 'FROM mywikiprefix_recentchanges'

Go to Special:BlockandNuke. The special page is listed under Special:SpecialPages, under Page Tools, BlockandNuke.

A checklist shows all users who made contributions since last use of this tool and are not listed in whitelist.txt. Default checklist: all checked. Select users you would like to block - all their contributions will be deleted. Click 'Select Users'. Then confirm by clicking the button 'BlockandNuke'.

Logs
A log of all deletions and blocked users is maintained at Special:Log/delete.