Difference between revisions of "CAPTCHA for Add Spam"
Arif Iqbal (talk | contribs) |
Arif Iqbal (talk | contribs) (→LocalSetting.php (Global Variables to enable Captcha)) |
||
| Line 22: | Line 22: | ||
== LocalSetting.php (Global Variables to enable Captcha) == | == LocalSetting.php (Global Variables to enable Captcha) == | ||
| − | //Used for enabling and disabling captcha | + | //Used for enabling and disabling captcha<br> |
139 global $disableCaptcha, $captchaReloadTime; | 139 global $disableCaptcha, $captchaReloadTime; | ||
140 $disableCaptcha = false; | 140 $disableCaptcha = false; | ||
Revision as of 09:16, 20 September 2007
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

