TWiki> TWiki Web>AntiWikiSpamPlugin (23 Aug 2005, SvenDowideit? )EditAttach

AntiWikiSpamPlugin

This plugin attempts to reduce the instance of Wiki Spam by using the MoinMoin AntiSpamGlobalSolution regex's. Anytime it detects that a saved page contains a string in the regex list, it only refuses to save it.

Major premise is not to create any unnecessary load on the server and not to use excess server resources by holding connections open.

All its processing is only done on save, or on attach. (TWiki:Plugins/BlackListPlugin does alot of processing on every twiki script, including view)

It uses a timeout on save to check if the list has changed, so if there are no saves, there is no un-needed network traffic.

To manually update the list, click here

Plugin Settings

Plugin settings are stored as preferences variables. To reference a plugin setting write %<plugin>_<setting>%, i.e. %INTERWIKIPLUGIN_SHORTDESCRIPTION%

  • One line description, is shown in the TextFormattingRules topic:
    • Set SHORTDESCRIPTION = prevents registered Wiki Spam from being saved

  • time in minutes between attempts to get a new version of the list
    • Set GETLISTTIMEOUT = 60

  • Local spam list (checked before the larger shared one)
    • Set LOCALANTISPAMREGEXLISTTOPIC = LocalAntiWikiSpamPluginList?

  • to ensure that only TWikiAdmins can make changes here

Plugin Installation Instructions

Note: You do not need to install anything on the browser to use this plugin. The following instructions are for the administrator who installs the plugin on the server where TWiki is running.

  • Download the ZIP file from the Plugin web (see below)
  • Unzip AntiWikiSpamPlugin.zip in your twiki installation directory. Content:
    File: Description:
    data/TWiki/AntiWikiSpamPlugin.txt Plugin topic
    data/TWiki/AntiWikiSpamPlugin.txt,v Plugin topic repository
    lib/TWiki/Plugins/AntiWikiSpamPlugin.pm Plugin Perl module
  • (Dakar) Visit configure in your TWiki installation, and enable the plugin in the {Plugins} section.
  • Test if the installation was successful:

Plugin Info

Plugin Author: TWiki:Main.SvenDowideit - http:///www.WikiRing.com
Plugin Version: 4 Sept 2007 (V1.2)
Change History:  
4 Sept 2007: updated to 4.2
22 Jul 2006: resurected it for TWiki 4.0 due to demand for a low resource AntiSpam? solution
22 Aug 2005: Initial version
TWiki Dependency: $TWiki::Plugins::VERSION 1.024
CPAN Dependencies: none
Other Dependencies: none
Perl Version: 5.005
License: GPL (GNU General Public License)
TWiki:Plugins/Benchmark: GoodStyle nn%, FormattedSearch nn%, AntiWikiSpamPlugin nn%
Plugin Home: http://TWiki.org/cgi-bin/view/Plugins/AntiWikiSpamPlugin
Feedback: http://TWiki.org/cgi-bin/view/Plugins/AntiWikiSpamPluginDev
Appraisal: http://TWiki.org/cgi-bin/view/Plugins/AntiWikiSpamPluginAppraisal

Related Topics: TWikiPreferences, TWikiPlugins

Topic revision: r4 - 23 Aug 2005 - 17:56:14 - SvenDowideit?
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.AntiWikiSpamPlugin