mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-11-27 17:40:11 +00:00
Fixes Account creation CAPTCHA text field
Bug: T341525 Change-Id: I793333b764399867c6e5babdec3d457d65d81fb1
This commit is contained in:
parent
0460184af3
commit
1a79047036
|
@ -128,6 +128,8 @@ class FancyCaptcha extends SimpleCaptcha {
|
|||
|
||||
// Loaded only for clients with JS enabled
|
||||
$modules[] = 'ext.confirmEdit.fancyCaptcha';
|
||||
// FIXME: This should be removed (works around T341525)
|
||||
$modules[] = 'mediawiki.ui.input';
|
||||
|
||||
$captchaReload = Html::element(
|
||||
'small',
|
||||
|
@ -152,6 +154,7 @@ class FancyCaptcha extends SimpleCaptcha {
|
|||
'alt' => ''
|
||||
]
|
||||
) . $captchaReload . Html::closeElement( 'div' ) . Html::closeElement( 'div' ) . "\n" .
|
||||
// FIXME: This should use CodexHTMLForm rather than Html::element
|
||||
Html::element( 'input', [
|
||||
'name' => 'wpCaptchaWord',
|
||||
'class' => 'mw-ui-input',
|
||||
|
|
Loading…
Reference in a new issue