https://wiki.mediagoblin.org/api.php?action=feedcontributions&user=Ciaran&feedformat=atomGNU MediaGoblin Wiki - User contributions [en]2024-03-28T21:43:51ZUser contributionsMediaWiki 1.39.5https://wiki.mediagoblin.org/index.php?title=GNU_MediaGoblin:Community_portal&diff=1292GNU MediaGoblin:Community portal2013-05-14T09:49:30Z<p>Ciaran: /* Spam blocking: Questy Captcha */ ::Glad I could help. ~~~~</p>
<hr />
<div>==Spam blocking: Questy Captcha==<br />
<br />
I see you've spambots making lots of new accounts and occasionally making spam pages. ([[Special:RecentChanges]])<br />
<br />
I installed ConfirmEdit (it's free-as-in-freedom) on my wiki ( http://en.swpat.org/ ) and spam has dropped to nearly zero. ConfirmEdit offers a few captchas but I think QuestyCaptcha is by far the best. It requires new contributors to answer a question if they want to edit anonymously or make an account. There are no questions supplied, so each wiki has to write their own. The result is simple for a human but practically impossible for a bot.<br />
<br />
Documentation:<br />
* http://www.mediawiki.org/wiki/Extension:ConfirmEdit<br />
* http://www.mediawiki.org/wiki/Extension:QuestyCaptcha<br />
<br />
Rough HOWTO:<br />
<br />
# Download it here: http://www.mediawiki.org/wiki/Special:ExtensionDistributor/ConfirmEdit<br />
# mv ConfirmEdit-MW1.17-r77902.tar.gz WIKIDIRECTORY/extensions/<br />
# untar it there<br />
# Put these lines at the end of LocalSettings.php (change or add as many questions as you like):<br />
require_once( "$IP/extensions/ConfirmEdit/ConfirmEdit.php" );<br />
require_once( "$IP/extensions/ConfirmEdit/QuestyCaptcha.php");<br />
$wgCaptchaClass = 'QuestyCaptcha';<br />
$wgCaptchaQuestions[] = array( 'question' => "What colour is grass", 'answer' => "green" );<br />
$wgCaptchaQuestions[] = array( 'question' => "What do most people sleep in at night? (3 letters)", 'answer' => "bed" );<br />
&nbsp; &nbsp; 5. In WIKIDIRECTORY/extensions/ConfirmEdit/ConfirmEdit.php, make two changes:<br /><br />
*Search for the following, and change it to "true":<br />
$wgGroupPermissions['user' ]['skipcaptcha'] = false;<br />
*Search for the following, and change it also to "true":<br />
$wgCaptchaTriggers['edit'] = false; // Would check on every edit<br />
<br />
I do still get a trickle of spam, which I found surprising. Maybe some of the spam networks that target my wiki include groups of humans, but only a small fraction have good enough English to answer my silly questions.<br />
<br />
In contrast, requiring email confirmation is inconvenient for well-intentioned visitors and probably doesn't block any spambots. Automating the response is probably trivial for a spambot author (although I haven't tested to see if it does reduce spam). In any case, QuestyCaptcha should be enough.<br />
<br />
Hope that helps, and best of luck with GNU MediaGoblin! [[User:Ciaran|Ciaran]] 17:58, 2 May 2012 (EDT)<br />
<br />
:It's been setup. Thanks. [[User:simonft|simonft]] Feb 20 2013<br />
<br />
::Glad I could help. [[User:Ciaran|Ciaran]] ([[User talk:Ciaran|talk]]) 05:49, 14 May 2013 (EDT)</div>Ciaranhttps://wiki.mediagoblin.org/index.php?title=GNU_MediaGoblin:Community_portal&diff=696GNU MediaGoblin:Community portal2012-05-03T00:22:37Z<p>Ciaran: /* Spam blocking: Questy Captcha */ added documentation links (Is this in the right place for this sort of stuff? What types of in-wiki communication *are* allowed?)</p>
<hr />
<div>==Spam blocking: Questy Captcha==<br />
<br />
I see you've spambots making lots of new accounts and occasionally making spam pages. ([[Special:RecentChanges]])<br />
<br />
I installed ConfirmEdit (it's free-as-in-freedom) on my wiki ( http://en.swpat.org/ ) and spam has dropped to nearly zero. ConfirmEdit offers a few captchas but I think QuestyCaptcha is by far the best. It requires new contributors to answer a question if they want to edit anonymously or make an account. There are no questions supplied, so each wiki has to write their own. The result is simple for a human but practically impossible for a bot.<br />
<br />
Documentation:<br />
* http://www.mediawiki.org/wiki/Extension:ConfirmEdit<br />
* http://www.mediawiki.org/wiki/Extension:QuestyCaptcha<br />
<br />
Rough HOWTO:<br />
<br />
# Download it here: http://www.mediawiki.org/wiki/Special:ExtensionDistributor/ConfirmEdit<br />
# mv ConfirmEdit-MW1.17-r77902.tar.gz WIKIDIRECTORY/extensions/<br />
# untar it there<br />
# Put these lines at the end of LocalSettings.php (change or add as many questions as you like):<br />
require_once( "$IP/extensions/ConfirmEdit/ConfirmEdit.php" );<br />
require_once( "$IP/extensions/ConfirmEdit/QuestyCaptcha.php");<br />
$wgCaptchaClass = 'QuestyCaptcha';<br />
$wgCaptchaQuestions[] = array( 'question' => "What colour is grass", 'answer' => "green" );<br />
$wgCaptchaQuestions[] = array( 'question' => "What do most people sleep in at night? (3 letters)", 'answer' => "bed" );<br />
&nbsp; &nbsp; 5. In WIKIDIRECTORY/extensions/ConfirmEdit/ConfirmEdit.php, make two changes:<br /><br />
*Search for the following, and change it to "true":<br />
$wgGroupPermissions['user' ]['skipcaptcha'] = false;<br />
*Search for the following, and change it also to "true":<br />
$wgCaptchaTriggers['edit'] = false; // Would check on every edit<br />
<br />
I do still get a trickle of spam, which I found surprising. Maybe some of the spam networks that target my wiki include groups of humans, but only a small fraction have good enough English to answer my silly questions.<br />
<br />
In contrast, requiring email confirmation is inconvenient for well-intentioned visitors and probably doesn't block any spambots. Automating the response is probably trivial for a spambot author (although I haven't tested to see if it does reduce spam). In any case, QuestyCaptcha should be enough.<br />
<br />
Hope that helps, and best of luck with GNU MediaGoblin! [[User:Ciaran|Ciaran]] 17:58, 2 May 2012 (EDT)</div>Ciaranhttps://wiki.mediagoblin.org/index.php?title=GNU_MediaGoblin:Community_portal&diff=694GNU MediaGoblin:Community portal2012-05-02T21:58:20Z<p>Ciaran: Spam blocking: Questy Captcha== I see you've spambots making lots of new accounts and occasionally making spam pages. (Special:RecentChanges) I installed ConfirmEdit on my wiki ( http://en.swpat.org/ ) and spam has dropped to nearly zero. Conf</p>
<hr />
<div>==Spam blocking: Questy Captcha==<br />
<br />
I see you've spambots making lots of new accounts and occasionally making spam pages. ([[Special:RecentChanges]])<br />
<br />
I installed ConfirmEdit (it's free-as-in-freedom) on my wiki ( http://en.swpat.org/ ) and spam has dropped to nearly zero. ConfirmEdit offers a few captchas but I think QuestyCaptcha is by far the best. It requires new contributors to answer a question if they want to edit anonymously or make an account. There are no questions supplied, so each wiki has to write their own. The result is simple for a human but practically impossible for a bot.<br />
<br />
# Download it here: http://www.mediawiki.org/wiki/Special:ExtensionDistributor/ConfirmEdit<br />
# mv ConfirmEdit-MW1.17-r77902.tar.gz WIKIDIRECTORY/extensions/<br />
# untar it there<br />
# Put these lines at the end of LocalSettings.php (change or add as many questions as you like):<br />
require_once( "$IP/extensions/ConfirmEdit/ConfirmEdit.php" );<br />
require_once( "$IP/extensions/ConfirmEdit/QuestyCaptcha.php");<br />
$wgCaptchaClass = 'QuestyCaptcha';<br />
$wgCaptchaQuestions[] = array( 'question' => "What colour is grass", 'answer' => "green" );<br />
$wgCaptchaQuestions[] = array( 'question' => "What do most people sleep in at night? (3 letters)", 'answer' => "bed" );<br />
5. In WIKIDIRECTORY/extensions/ConfirmEdit/ConfirmEdit.php, make two changes:<br /><br />
*Search for the following, and change it to "true":<br />
$wgGroupPermissions['user' ]['skipcaptcha'] = false;<br />
*Search for the following, and change it also to "true":<br />
$wgCaptchaTriggers['edit'] = false; // Would check on every edit<br />
<br />
I do still get a trickle of spam, which I found surprising. Maybe some of the spam networks that target my wiki include groups of humans, but only a small fraction have good enough English to answer my silly questions.<br />
<br />
In contrast, requiring email confirmation is inconvenient for well-intentioned visitors and probably doesn't block any spambots. Automating the response is probably trivial for a spambot author (although I haven't tested to see if it does reduce spam). In any case, QuestyCaptcha should be enough.<br />
<br />
Hope that helps, and best of luck with GNU MediaGoblin! [[User:Ciaran|Ciaran]] 17:58, 2 May 2012 (EDT)</div>Ciaran