benj's blog

The blog with REAL pieces of geek inside!

Avril 2005
Dim Lun Mar Mer Jeu Ven Sam
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
Mar  Mai
Contribution accepted!

Lundi, 25 Avril 2005

As every wiki admin, I had to deal with spam. Speaking about it with my friend Mathieu, he told me about a simple but very efficient idea using captchas to block spam bots from altering the wiki. Captchas are randomly-generated images that display a string user has to type in to make sure she is a human. As a computer cannot easily decipher semi-obfuscated text printed on an image, it is easy to block programs ... and then spam bots.

As this scratched my itch, I quickly hacked a proof-of-concept patch for phpwiki ... which was accepted today!

Now I can't wait for a new upstream release. :-)