[QuestyCaptcha] Help page on 1.18 is broken

Jump to: navigation, search

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
Unikum01:03, 2 November 2011

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' ) );
     }
   }
Geraschenko19:26, 18 November 2011

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

[[kgh]]17:30, 19 November 2011

Hi, this was just fixed with r104867. Cheers

[[kgh]]16:41, 1 December 2011
 
 
 
Personal tools

Variants
Actions
Navigation
Support
Download
Development
Communication
Toolbox