r4 - 23 Aug 2005 - 17:56:14 - SvenDowideit?You are here: TWiki >  TWiki Web  > AntiWikiSpamPlugin

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 TextFormattingRules 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 = AntiWikiSpamPluginList?
  • 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?

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: 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

-- TWiki:Main.SvenDowideit - 22 Aug 2005

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r4 < r3 < r2 < r1 | More topic actions
 
Powered by TWiki
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