Posted: 04/30/2004

Anti-Spam patch for Wikki-Tikki-Tavi (and other Wikis)

I have quickly put together a mini-CAPTCHA system that tries to thwart the SPAMbots that have been going around defacing thousands of Wikis.

You can see how it works by trying to edit the SandBox page in the MozTips Wiki. (Please do not experiment on other pages in the Wiki.)

This is a patch for the Tavi Wiki system, but it can probably be adapted for other systems.

Update:

I have modified the patch so that the previewing functionality should work again. There is the possibility to remove some duplicated code from this patch. I will try to consolidate the changes and incorporate them into a new patch.

Caution:
Please test this patch locally before installing it on your production system.

You can download the patch here:
http://www.moztips.com/code/wikipatch/

Please let me know if you find any bugs.


Posted by jay_sheth. Edited by jay_sheth: 06/15/2004

2 comments were found for Anti-Spam patch for Wikki-Tikki-Tavi (and other Wikis) . Add your own at the bottom of the page.
 

Hi Scott,

thanks for your feedback on the patch.

I think you are right: the preview feature must be broken with this patch ... as I don't remember taking that into account when writing the patch. (I kind of forgot about the preview functionality - it was a hurried patch as my Wiki was getting spammed and I wanted to fix it.)

I will try to update the patch so that previewing works. I will then post a new patch here.


Jay Sheth   

06.15.2004 (m/d/y)    Anti-Spam patch for Wikki-Tikki-Tavi (and other Wikis)

FYI it seems there are problems when interacting with "Preview". First, preview works regardless of what was entered in the CAPTCHA input field. Second, once you preview, the CAPTCHA field disappears, preventing you from saving.

Otherwise it looks pretty cool, though.

SM   

06.14.2004 (m/d/y)    Anti-Spam patch for Wikki-Tikki-Tavi (and other Wikis)

Add a new comment:

Name:
E-Mail:
Message:
Verification Code: 87404
Enter Verification Code:


- - - Back to the page you came from - - -