Author

Topic: [will tip BTC] How do I install ConfirmEdit on Mediawiki? (Read 431 times)

legendary
Activity: 1960
Merit: 1130
Truth will out!
After adding the ConfirmEdits extension and the code at the very bottom of LocalSettings.php, are you setting up a configuration for them?
I think that after doing what you've made, you have to set up this configuration on your project:
http://www.mediawiki.org/wiki/Extension:ConfirmEdit#Configuration

Then, navigate to "Special:Version" on your wiki to verify that the extension is successfully installed.  Cheesy
Hope to help you  Wink
b!z
legendary
Activity: 1582
Merit: 1010
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:

Code:
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 Smiley
Jump to: