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
- Debug plugin: (See output in
data/debug.txt)
- Set DEBUG = 0
- to ensure that only TWikiAdmins can make changes here
- set ALLOWTOPICCHANGE = TWikiAdminGroup
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
Related Topics: TWikiPreferences, TWikiPlugins