Difference between revisions of "CAPTCHA for Add Spam"

(Steps to get to DoneDone)
Line 20: Line 20:
 
* <strike>Remove Spam Filter from the wiki/includes/EditPage.php</strike>
 
* <strike>Remove Spam Filter from the wiki/includes/EditPage.php</strike>
 
* <strike>Test the functionality.</strike>
 
* <strike>Test the functionality.</strike>
 +
 +
== LocalSetting.php (Global Variables to enable Captcha) ==
 +
    //Used for enabling and disabling captcha
 +
139 global $disableCaptcha, $captchaReloadTime;
 +
140 $disableCaptcha = false;
 +
141 $captchaReloadTime = 60;
 +
142
 +
143 global $disableSpamFilter ;
 +
144 $disableSpamFilter = false;
 +
145
  
 
[[Category:DevelopmentTask]]
 
[[Category:DevelopmentTask]]
 
</noinclude>
 
</noinclude>

Revision as of 09:15, 20 September 2007

OurWork Edit-chalk-10bo12.png


Project: SpamMitigation

What (summary)

CAPTCHA required to add a spam titled page, or to add spam words to a page.

Why this is important

Currently links to sites that contain a word like "a-mbien" are rejected by the spam filter. There are many legitimate words that contain spam filtered words. For example the site in question contains the word a-mbiente which means "environment" in Spanish. But because the word a-mbien is contained in the word a-mbiente, it is rejected. Correcting this will support our user base.

DoneDone

  • Whenever anyone creates a page with a title that triggers the spam filter, or adds words to a page that trigger the spam filter they must successfully fill in a CAPTCHA in order to save.
  • Not asked for a CAPTCHA if you are saving a page and you didn't add (or move) spam words (the page may contain some SPAM words that you didn't add to the page)

Steps to get to DoneDone

  • Figure out what happens currently when the spam filter is triggered
  • As the captcha functionality already exist in the recaptcha extension, so extend the extension and add the captcha support for spam filter in it.
  • Remove Spam Filter from the wiki/includes/EditPage.php
  • Test the functionality.

LocalSetting.php (Global Variables to enable Captcha)

    //Used for enabling and disabling captcha
139 global $disableCaptcha, $captchaReloadTime;
140 $disableCaptcha = false;
141 $captchaReloadTime = 60;
142 
143 global $disableSpamFilter ;
144 $disableSpamFilter = false;
145


Retrieved from "http://aboutus.com/index.php?title=CAPTCHA_for_Add_Spam&oldid=10515595"