From ba0fc4fa20067528effd4802e53ceeb959640825 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Thu, 12 Jan 2012 13:42:29 +0100 Subject: Update to MediaWiki 1.18.1 --- extensions/ConfirmEdit/FancyCaptcha.class.php | 3 +++ extensions/ConfirmEdit/QuestyCaptcha.class.php | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'extensions/ConfirmEdit') diff --git a/extensions/ConfirmEdit/FancyCaptcha.class.php b/extensions/ConfirmEdit/FancyCaptcha.class.php index b2f5c10e..61723656 100644 --- a/extensions/ConfirmEdit/FancyCaptcha.class.php +++ b/extensions/ConfirmEdit/FancyCaptcha.class.php @@ -72,6 +72,9 @@ class FancyCaptcha extends SimpleCaptcha { Xml::element( 'input', array( 'name' => 'wpCaptchaWord', 'id' => 'wpCaptchaWord', + 'autocorrect' => 'off', + 'autocapitalize' => 'off', + 'required', 'tabindex' => 1 ) ) . // tab in before the edit textarea "

\n"; } diff --git a/extensions/ConfirmEdit/QuestyCaptcha.class.php b/extensions/ConfirmEdit/QuestyCaptcha.class.php index 478fcf34..90e4b186 100644 --- a/extensions/ConfirmEdit/QuestyCaptcha.class.php +++ b/extensions/ConfirmEdit/QuestyCaptcha.class.php @@ -64,7 +64,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' ) ); } } -- cgit v1.2.3-54-g00ecf