Hi guys, I installed Mediawiki on a web host using Softaculous. Apparently the ConfirmEdits extension is already bundled with the install, because it has its own folder in /extensions/.
I put this code at the very bottom of LocalSettings.php:
require_once "$IP/extensions/ConfirmEdit/QuestyCaptcha.php";
$wgCaptchaClass = 'QuestyCaptcha';
$arr = array (
'A question?' => 'An answer!',
"What is this wiki's name?" => "$wgSitename",
'Please write the magic secret, "passion", here:' => 'passion',
'Type the code word, "567", here:' => '567',
'Which animal? ' => 'dog',
'Fill in the blank: Blue is a ...' => array( 'colour', 'color' ),
);
foreach ( $arr as $key => $value ) {
$wgCaptchaQuestions[] = array( 'question' => $key, 'answer' => $value );
}
(I got the code from here
http://www.mediawiki.org/wiki/Extension:ConfirmEdit#QuestyCaptcha)
However, when I edit, even when logged out, no CAPTCHA is displayed. How do I fix this? I will tip some BTC if your answer helps