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:
Florian 2015-06-09 18:27:41 +02:00 committed by Florianschmidtwelzow
parent 43cbc978fa
commit 101caf8b8f

View file

@ -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(