ToastFreeware
/
toast
/
cookiecaptcha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
437bc7b
)
* (bug 33366) ConfirmEdit: Disable autocorrect, autocapitalize on FancyCaptcha's...
author
Brion Vibber
<brion@users.mediawiki.org>
Mon, 26 Dec 2011 19:50:20 +0000
(19:50 +0000)
committer
Brion 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
patch
|
blob
|
history
diff --git
a/FancyCaptcha.class.php
b/FancyCaptcha.class.php
index 26227aa30bc11fd0014bc8917e547d664d2baaa2..3ce5670e4ecba395b4a0dfaf47820ebe447dcdfd 100644
(file)
--- a/
FancyCaptcha.class.php
+++ b/
FancyCaptcha.class.php
@@
-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";