CAPTCHA for Add Spam
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) -
Captcha required to move a page to a spam title
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
testing
ambien