Difference between revisions of "CAPTCHA for Add Spam"

(LocalSetting.php (Global Variables to enable Captcha))
(LocalSetting.php (Global Variables to enable Captcha))
Line 23: Line 23:
 
== LocalSetting.php (Global Variables to enable Captcha) ==
 
== LocalSetting.php (Global Variables to enable Captcha) ==
 
     //Used for enabling and disabling captcha<br>
 
     //Used for enabling and disabling captcha<br>
  139 global $disableCaptcha, $captchaReloadTime;
+
  139 global $disableCaptcha, $captchaReloadTime;<br>
  140 $disableCaptcha = false;
+
  140 $disableCaptcha = false;<br>
  141 $captchaReloadTime = 60;
+
  141 $captchaReloadTime = 60;<br>
  142  
+
  142 <br>
  143 global $disableSpamFilter ;
+
  143 global $disableSpamFilter ;<br>
  144 $disableSpamFilter = false;
+
  144 $disableSpamFilter = false;<br>
  145  
+
  145 <br>
  
 
[[Category:DevelopmentTask]]
 
[[Category:DevelopmentTask]]
 
</noinclude>
 
</noinclude>

Revision as of 09:17, 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=10515655"