Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://wiki.cs.msu.ru/System/AntiWikiSpamPlugin?cover=print;rev=2
Дата изменения: Unknown Дата индексирования: Mon Apr 11 08:40:08 2016 Кодировка: |
It can also check new registrations to see if the email address used matches a blacklist (or whitelist).
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 onsave
, or on attach
.
(Foswiki:Extensions/BlackListPlugin does alot of processing on every topic operation,
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. Alternatively the regex list can be loaded by a cron script to minimize save overhead.
To manually update the list, click here Note that the retrieve of the MoinMoin regex list can still take some seconds which will delay topic saves when the list needs to be refreshed. For best performance:rest
script from a scheduled cron job
cd [foswiki-bin-directory] ./rest /AntiWikiSpamPlugin/forceUpdate
GETLISTTIMEOUT
to a very large number so that the cron job will be the only source of updates
SuspectSpammer<WikiName><timestamp>
Setting | Definition | Default |
---|---|---|
{Plugins}{AntiWikiSpamPlugin}{CheckTopics} |
Enable to check topic text against the spam regular expressions | (enabled) |
{Plugins}{AntiWikiSpamPlugin}{CheckAttachments} |
Enable to check attachment text against the spam regular expressions | (enabled) |
{Plugins}{AntiWikiSpamPlugin}{CheckRegistrations} |
Enable to check Registrations against the white and black lists. | (enabled) |
{Plugins}{AntiWikiSpamPlugin}{ANTISPAMREGEXLISTURL} |
URL containing the public list of regular expressions used to block spam. The default list is provided by MoinMoin. | http://arch.thinkmo.de/cgi-bin/spam-merge |
{Plugins}{AntiWikiSpamPlugin}{LOCALANTISPAMREGEXLISTTOPIC} |
A topic containing a list of local regular expressions. A sample topic is provided. | AntiWikiSpamLocalList |
{Plugins}{AntiWikiSpamPlugin}{GETLISTTIMEOUT} |
Maximum age of the public regular expression list in minutes. When age is exceeded, an updated list will be fetched | 60 |
{Plugins}{AntiWikiSpamPlugin}{BypassGroup} |
A Wiki group listing members who are permitted to save without any Spam checking. Note that members of the AdminGroup are always permitted to save. | AntiWikiSpamBypassGroup |
{Plugins}{AntiWikiSpamPlugin}{HitThreshold} |
Number of regex hits required to block the save. Set to -1 to simulate operation. | 1 |
{Plugins}{AntiWikiSpamPlugin}{RegistrationWhiteList} |
Name of topic containing regular expressions that permit registration by matching email domains. | AntiWikiSpamRegistrationWhiteList |
{Plugins}{AntiWikiSpamPlugin}{RegistrationBlackList} |
Name of topic containing regular expressions that deny registration by matching email domains. | AntiWikiSpamRegistrationBlackList |
You do not need to install anything in the browser to use this extension. The following instructions are for the administrator who installs the extension on the server.
Open configure, and open the "Extensions" section. Use "Find More Extensions" to get a list of available extensions. Select "Install".
If you have any problems, or if the extension isn't available inconfigure
, then you can still install manually from the command-line. See http://foswiki.org/Support/ManuallyInstallingExtensions for more help.
working/logs/error.log
)
To cause a true failure, remove the VIEW and CHANGE restrictions to the topic and edit it using a non-admin user.
Author(s): | Foswiki:Main.SvenDowideit - http://fosiki.com | ||||||
Copyright: | © 2005-2009 SvenDowideit@fosiki.DELETE_NO_SPAM..com © 2012 George Clark © 2012 Crawford Currie http://c-dot.co.uk |
||||||
License: | GPL 3 (Gnu General Public License) | ||||||
Version: | 20120810 (2012-08-10) | ||||||
Release: | 1.4 | ||||||
Change History: | |||||||
1.4 (10 Aug 2012) | Foswikitask:Item11679: When removing a user, remove it from any groups. Foswikitask:Item12038: Allow checking to be disabled |
||||||
1.3.1 (19 Mar 2012) | Remove dialog would remove current user if entered user was not konwn to the Mapper. | ||||||
1.3 (14 Mar 2012) | Foswikitask:Item11644: add white/black lists for common spam sources (Foswiki:Main.CrawfordCurrie) Foswikitask:Item11646: add remove dialog Foswikitask:Item11593: Uninitialized variable |
||||||
1.2 (25 Apr 2011) | Foswikitask:Item1091 - add whitelist, Foswikitask:Item1580 - also process comments, Foswikitask:Item10680 - Improve local regex capability |
||||||
1.1 (4 Jan 2009) | updated for Foswiki v1.0 | ||||||
1.0 (22 Aug 2005) | Initial version | ||||||
Dependencies: |
|
||||||
Home page: | http://foswiki.org/bin/view/Extensions/AntiWikiSpamPlugin |