Extension:AbuseFilter

AbuseFilter allows privileged users to set specific controls on user activity and create automated reactions for certain behaviors.

Installation

 * Note: Requires Extension:AntiSpoof

As is standard with other MediaWiki extensions, you may install this extension by extracting the extension in the extensions folder and adding


 * require_once("$IP/extensions/AbuseFilter/AbuseFilter.php" );

to LocalSettings.php, and creating the tables (or running install.php or update.php).

User rights
Once you installed the extension, you'll have to set up the user rights in LocalSettings.php. For example, the following sample configuration would allow sysops to do everything they want with AbuseFilter, normal logged-in users only to view the log and the filter settings and everyone (including anonymous users) to see the filter settings.

$wgGroupPermissions['sysop']['abusefilter-modify'] = true; $wgGroupPermissions['sysop']['abusefilter-log-detail'] = true; $wgGroupPermissions['*']['abusefilter-view'] = true; $wgGroupPermissions['user']['abusefilter-log'] = true; $wgGroupPermissions['sysop']['abusefilter-private'] = true; $wgGroupPermissions['sysop']['abusefilter-modify-restricted'] = true; $wgGroupPermissions['sysop']['abusefilter-revert'] = true;

Documentation

 * The rules format
 * Actions