User:Devkyu/AntiSpam

AntiSpam Stuff

Courtesy of GreenReaper
You doesn't seem to have much in the way of protection. Consider these extensions?
 * SimpleAntiSpam - trivial, often works well
 * ForcePreview - good luck saving if they don't know to preview first
 * SpamBlacklist - set it up to use Wikimedia's lists and you catch a lot
 * AntiBot - an extensible framework, comes with one useful thing. Make sure you copy the plugin into the active directory else it won't do anything. Our modification of the genericFormEncoding.php:

$wgHooks['EditFilterMerged'][] = 'AntiBot_GenericFormEncoding::onEditFilterMerged'; class AntiBot_GenericFormEncoding { function onEditFilterMerged( $editPage, $text, &$hookError ) { if ( !function_exists( 'apache_request_headers' ) ) { return true; }               $headers = apache_request_headers; if ( isset( $headers['Content-Type'] )                       && $headers['Content-Type'] == 'application/x-www-form-urlencoded' ) {                       global $wgUser; if ( !$wgUser->isAllowed( 'noratelimit' ) && !$wgUser->isAllowed( 'bot' )) { if ( AntiBot::trigger(__CLASS__) == 'fail' ) { return false; }                       }                }                return true; } }
 * AbuseFilter - configurable blocks against particular behaviours. A couple of filters we use on WikiFur (use import on Special:AbuseFilter to apply):