Item12038: Need way to disable various spam checks.

pencil
Priority: Enhancement
Current State: Closed
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: AntiWikiSpamPlugin
Branches: trunk
Reported By: GeorgeClark
Waiting For:
Last Change By: GeorgeClark
Currently if the plugin is enabled, Topics, Attachments and Registrations are all checked. You can simulate checking, but there is no way to disable the checks. For example, it may be desirable to only check registrations, rather than do the regex processing for every topic and attachment save.

Add 3 configuration variables:

# **BOOLEAN**
# Should topic text be checked against the spam regular expression list?
$Foswiki::cfg{Plugins}{AntiWikiSpamPlugin}{CheckTopics} = $TRUE;

# **BOOLEAN**
# Should attachment contents be checked against the spam regular expression list?
$Foswiki::cfg{Plugins}{AntiWikiSpamPlugin}{CheckAttachments} = $TRUE;

# **BOOLEAN**
# Should registrations be checked the plugin?
$Foswiki::cfg{Plugins}{AntiWikiSpamPlugin}{CheckRegistrations} = $TRUE;

-- GeorgeClark - 10 Aug 2012

 
Topic revision: r3 - 10 Aug 2012, GeorgeClark - This page was cached on 25 Jul 2016 - 02:17.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License