Priority: Normal
Current State: Closed
Released In: n/a
Target Release: n/a
Unfortunately users can still post spam to the wiki with a comment box. It would be great if this plugin would work with comments as well.
Both plugins call
beforeSaveHandler
.
Instead it would be better design if any plugin in the save queue could write
true/false
in a method
isAllowedToSave
.
--
ArthurClemens - 06 May 2009
Just checked
BlackListPlugin. It works fine with
CommentPlugin.
--
KennethLavrsen - 06 May 2009
Yes, but my spammer changes IP literally every second (save and view). Blocking the IP has no effect. Blocking him from posting the site url would.
--
ArthurClemens - 06 May 2009
Adding an
isAllowedToSave
method won't fix this because the comment has actually not been applied to the topic text. Ordering of the plugin handlers is the solution. On IRC, mtempest suggested that the plugin could also ship a
ZZZZZZZZAntiWikiSpamPlugin module to force it last in the list. That solves this without any core changes.
Another possible solution. Split the
cfg{PluginOrder}
variable to a "First;Last" list If the ;Last,Plugin list is present, then those plugins should be inserted into the list after the alphabetical ordering of plugins.
In this particular case, just adding
CommentPlugin
to the
PluginOrder
will work around this because the plugins are processed alphabetically after the fixed order plugins are processed.
--
GeorgeClark - 03 Jul 2010