Fixes Account creation CAPTCHA text field

Bug: T341525
Change-Id: I793333b764399867c6e5babdec3d457d65d81fb1
This commit is contained in:
Jon Robson 2023-07-13 08:56:07 -07:00 committed by Jdlrobson
parent 0460184af3
commit 1a79047036

View file

@ -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',