mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-11-27 17:40:11 +00:00
Merge "Fixes Account creation CAPTCHA text field"
This commit is contained in:
commit
35d3dc6a78
|
@ -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',
|
||||||
|
|
Loading…
Reference in a new issue