Merge "Fixes Account creation CAPTCHA text field"

This commit is contained in:
jenkins-bot 2023-08-03 16:27:46 +00:00 committed by Gerrit Code Review
commit 35d3dc6a78

View file

@ -128,6 +128,8 @@ class FancyCaptcha extends SimpleCaptcha {
// Loaded only for clients with JS enabled // Loaded only for clients with JS enabled
$modules[] = 'ext.confirmEdit.fancyCaptcha'; $modules[] = 'ext.confirmEdit.fancyCaptcha';
// FIXME: This should be removed (works around T341525)
$modules[] = 'mediawiki.ui.input';
$captchaReload = Html::element( $captchaReload = Html::element(
'small', 'small',
@ -152,6 +154,7 @@ class FancyCaptcha extends SimpleCaptcha {
'alt' => '' 'alt' => ''
] ]
) . $captchaReload . Html::closeElement( 'div' ) . Html::closeElement( 'div' ) . "\n" . ) . $captchaReload . Html::closeElement( 'div' ) . Html::closeElement( 'div' ) . "\n" .
// FIXME: This should use CodexHTMLForm rather than Html::element
Html::element( 'input', [ Html::element( 'input', [
'name' => 'wpCaptchaWord', 'name' => 'wpCaptchaWord',
'class' => 'mw-ui-input', 'class' => 'mw-ui-input',