mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-11-24 00:04:15 +00:00
apply patch from Bug 32501 - [QuestyCaptcha] Help page is broken
Fixes: 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> Might need to be merged so Extension Distributor can use it?
This commit is contained in:
parent
d039186114
commit
d40e00b39a
Notes:
Mark A. Hershberger
2011-12-01 16:24:49 +00:00
|
@ -65,7 +65,7 @@ class QuestyCaptcha extends SimpleCaptcha {
|
|||
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' ) );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue