User:Nx/vandalbrake
Things that are good to know[edit]
- When account creation disabled is selected but only a registered user is binned (without autoblock), the user will still be able to create an account, by simply logging out first. This is because no IP block is recorded, only a username block. Of course the user won't be able to create an account while logged in, but that's usually not what the blocking user wants.
- Autoblock solves this, because it creates an IP block too, which inherits the account creation disabled flag, so the IP won't be able to create an account
- Be careful with autoblock. It will not only block the user's last IP, it will also block any IP that the user tries to edit from with the binned account. And unlike normal blocking, binning is always infinite.
Configuration options[edit]
$wgVandalBrakeConfigLimit=1800;
Limit between two actions for binned users, in seconds, default is 30 minutes.
Action includes edits, moves and protections, i.e. anything that appears on a page's history. Deleted contributions also count. (The extension check the revision and archive tables).
$wgVandalBrakeConfigAnonLimit = 30;
Limit for anons
$wgVandalBrakeConfigUserLimit = 15;
Limit for logged in users who don't have the noratelimit right (i.e. non sysops, so you will probably want to give noratelimit to patrollers)
$wgGroupPermissions['sysop']['vandalbin'] = true;
The "vandalbin" right is required to bin and parole users.
$wgVandalVandalBrakeConfigRemoveRights = array ( 'move', 'skipcaptcha', 'rollback' );
These rights are removed from vandal binned users (because they can become autoconfirmed if persistent enough).
$wgVandalVandalBrakeConfigLimitRights = array ( );
This is similar, but this only affects the user if their last action was less than $wgVandalBrakeConfigLimit seconds ago. E.g. removing 'move' from the previous array and putting it here for example would allow vandals to move, but only if their last action (a move or an edit or anything that shows up in the article history) was more than 30 minutes ago.