* (bug 33366) ConfirmEdit: Disable autocorrect, autocapitalize on FancyCaptcha's...
authorBrion Vibber <brion@users.mediawiki.org>
Mon, 26 Dec 2011 19:50:20 +0000 (19:50 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Mon, 26 Dec 2011 19:50:20 +0000 (19:50 +0000)
Autocorrect / autocapitalize could mess up your input data, making it harder to get through the captcha. Disabled it so what you type is what you get.

FancyCaptcha.class.php

index 26227aa30bc11fd0014bc8917e547d664d2baaa2..3ce5670e4ecba395b4a0dfaf47820ebe447dcdfd 100644 (file)
@@ -72,6 +72,8 @@ class FancyCaptcha extends SimpleCaptcha {
                        Html::element( 'input', array(
                                'name' => 'wpCaptchaWord',
                                'id'   => 'wpCaptchaWord',
+                               'autocorrect' => 'off',
+                               'autocapitalize' => 'off',
                                'required',
                                'tabindex' => 1 ) ) . // tab in before the edit textarea
                        "</p>\n";