X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fhtmlform%2FHTMLForm.php;h=c6882c40360d10b80882ddc26836c6c510c9ee13;hb=e044600d9d27733ab6565ce046767f4d331e2df9;hp=8e7845914f99e85cffba54063fb7883778c47449;hpb=ebaf9d11e6eda561447513f2c90deb01c3ed4cfc;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/htmlform/HTMLForm.php b/includes/htmlform/HTMLForm.php index 8e7845914f..c6882c4036 100644 --- a/includes/htmlform/HTMLForm.php +++ b/includes/htmlform/HTMLForm.php @@ -81,9 +81,6 @@ use Wikimedia\ObjectFactory; * 'help-inline' -- Whether help text (defined using options above) will be shown * inline after the input field, rather than in a popup. * Defaults to true. Only used by OOUI form fields. - * 'notice' -- (deprecated, use 'help' instead) - * 'notice-messages' -- (deprecated, use 'help-messages' instead) - * 'notice-message' -- (deprecated, use 'help-message' instead) * 'required' -- passed through to the object, indicating that it * is a required field. * 'size' -- the length of text fields @@ -175,6 +172,7 @@ class HTMLForm extends ContextSource { 'title' => HTMLTitleTextField::class, 'user' => HTMLUserTextField::class, 'usersmultiselect' => HTMLUsersMultiselectField::class, + 'titlesmultiselect' => HTMLTitlesMultiselectField::class, ]; public $mFieldData; @@ -1029,6 +1027,7 @@ class HTMLForm extends ContextSource { * @param bool|string|array|Status $submitResult Output from HTMLForm::trySubmit() * * @return string HTML + * @return-taint escaped */ public function getHTML( $submitResult ) { # For good measure (it is the default) @@ -1832,7 +1831,7 @@ class HTMLForm extends ContextSource { * * @param string $key * - * @return string + * @return string Plain text (not HTML-escaped) */ public function getLegend( $key ) { return $this->msg( "{$this->mMessagePrefix}-$key" )->text();