Topic on Extension talk:ConfirmEdit

[QuestyCaptcha] Help page on 1.18 is broken

4
Unikum~mediawikiwiki (talkcontribs)

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

This post was posted by Unikum~mediawikiwiki, but signed as Unikum.

Geraschenko (talkcontribs)

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' ) );
     }
   }
Kghbln (talkcontribs)

Affirmative for MW 1.17. too. I have filed a bug report for this. Cheers

Reply to "[QuestyCaptcha] Help page on 1.18 is broken"