mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-11-24 00:04:15 +00:00
Fix non-parsed captcha help message
* Explicitly parse the help message * Don't escape the contents of the message Bug: T101463 Change-Id: Ie50206b8296d65eba14fd827a9a18ced550f36e5
This commit is contained in:
parent
43cbc978fa
commit
101caf8b8f
|
@ -143,9 +143,10 @@ class FancyCaptcha extends SimpleCaptcha {
|
|||
)
|
||||
); // tab in before the edit textarea
|
||||
if ( $this->action == 'usercreate' ) {
|
||||
$form .= HTML::element( 'small',array(
|
||||
// use raw element, because the message can contain links or some other html
|
||||
$form .= HTML::rawelement( 'small',array(
|
||||
'class' => 'mw-createacct-captcha-assisted'
|
||||
), wfMessage( 'createacct-imgcaptcha-help' )
|
||||
), wfMessage( 'createacct-imgcaptcha-help' )->parse()
|
||||
);
|
||||
}
|
||||
$form .= Html::element( 'input', array(
|
||||
|
|
Loading…
Reference in a new issue