[QuestyCaptcha] Help page on 1.18 is broken
When I try open Specail:Captcha/help I get following error:
Notice: Undefined property: QuestyCaptcha::$storage in /srv/http/wiki/extensions/ConfirmEdit/QuestyCaptcha.class.php on line 68 Fatal error: Call to a member function cookiesNeeded() on a non-object in /srv/http/wiki/extensions/ConfirmEdit/QuestyCaptcha.class.php on line 68
I had the same problem using 1.16. The following one-line change to QuestyCaptch.class.php seems to fix the problem:
===================================================================
--- QuestyCaptcha.class.php (revision 103604)
+++ QuestyCaptcha.class.php (working copy)
@@ -65,7 +65,7 @@
global $wgOut;
$wgOut->setPageTitle( wfMsg( 'captchahelp-title' ) );
$wgOut->addWikiText( wfMsg( 'questycaptchahelp-text' ) );
- if ( $this->storage->cookiesNeeded() ) {
+ if ( CaptchaStore::get()->cookiesNeeded() ) {
$wgOut->addWikiText( wfMsg( 'captchahelp-cookies-needed' ) );
}
}
Affirmative for MW 1.17. too. I have filed a bug report for this. Cheers