You are here: TWiki> Plugins Web>AntiWikiSpamPlugin (2008-12-12, SopanShewale)
Tags:
create new tag
, view all tags

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

  • 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 attachments
I Attachment Action Size Date Who Comment
elsemd5 AntiWikiSpamPlugin.md5 manage 0.2 K 2008-12-12 - 11:02 SopanShewale checksum file , Uploaded as a part of Release Process
ziptgz AntiWikiSpamPlugin.tgz manage 6.6 K 2008-12-12 - 11:02 SopanShewale See AntiWikiSpamPlugin for details. Untar and run the installer script, Uploaded as a part of Release Process
zipzip AntiWikiSpamPlugin.zip manage 8.2 K 2008-12-12 - 11:02 SopanShewale See AntiWikiSpamPlugin for details. Unzip and run the installer script , Uploaded as a part of Release Process
elseEXT AntiWikiSpamPlugin_installer manage 3.4 K 2008-12-12 - 11:02 SopanShewale Installer Script, Uploaded as a part of Release Process
Topic revision: r10 - 2008-12-12 - 11:02:30 - SopanShewale
 
TWIKI.NET
This site is powered by the TWiki collaboration platform
Ideas, requests, problems regarding TWiki? Send feedback
Copyright © 1999-2009 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.