key Log In or Register to edit

AntiWikiSpamPlugin

Under Development in the DEVELOP Branch, untested with Cairo

This plugin attempts to reduce the instance of Wiki Spam by using the MoinMoin AntiSpamGlobalSolution regex's

to manually update the list, click here

TODO list

it is intended to
  1. refuse to save a topic if the text contains a matching string - DONE
  • need to make the Oops page better
  1. automatically update the regex list from the configured source
  • either using a rest based url (DONE), a command line, or like Moin Moin, onSave, if the list is determined to be too out of date (DONE)
  1. consider mutliple source lists that are then merged (Though ThomasWaldemann is currently doing this work for us Thanks )
  2. have a local list to allow for quick responses - DONE
  • and then provide a plain text version of this to be merged back
  1. add topic permissions to the spam topics, while filtering them out when using them for regex's


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 Text Formatting Rules topic:
  • Set SHORTDESCRIPTION = prevents registered Wiki Spam from being saved

  • Debug plugin: (See output in data/debug.txt)
  • Set DEBUG = 0

  • where to get the regex list to check for
  • Set ANTISPAMREGEXLISTURL = http://arch.thinkmo.de/cgi-bin/spam-merge
  • Set ANTISPAMREGEXLISTTOPIC = Anti Wiki Spam Plugin List?
  • 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 = Local Anti Wiki Spam Plugin List?

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:
  • enter samples here

Plugin Info

Plugin Author: TWiki:Main.SvenDowideit
Plugin Version: 22 Aug 2005 (V1.000)
Change History:  
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: Good Style nn%, Formatted Search nn%, Anti Wiki Spam Plugin 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: T Wiki Preferences, T Wiki Plugins

-- TWiki:Main.SvenDowideit - 22 Aug 2005

 
Ad Sponsor
Back to Redbourn
Copyright © We make no guarantee of the correctness of the content of this site. All material on this collaboration platform is the property of Martin Cleaver and the contributing authors.