https://bugzilla.wikimedia.org/show_bug.cgi?id=32501

       Web browser: ---
             Bug #: 32501
           Summary: [QuestyCaptcha] Help page is broken
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: ConfirmEdit (CAPTCHA extension)
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified


On the talk page recently an issue was posted [1] that apparently did not make
it to bugzilla up till now 

When trying to open the help page, the following messages appear:
<pre>
Notice: Undefined property: QuestyCaptcha::$storage in
/.../extensions/ConfirmEdit/QuestyCaptcha.class.php on line 68

Fatal error: Call to a member function cookiesNeeded() on a non-object in
/.../extensions/ConfirmEdit/QuestyCaptcha.class.php on line 68
</pre>

This behaviour may be experienced on MW 1.16, MW 1.17 and MW 1.18 (probably
alpha)

Also user Geraschenko posted a patch for it:

<pre>
===================================================================
--- 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' ) );
     }
   }
</pre>

Thank you for having a look at this. Cheers 

[1]
http://www.mediawiki.org/wiki/Extension_talk:ConfirmEdit#x.5BQuestyCaptcha.5D_Help_page_on_1.18_is_broken_8574

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to