34 parent::__construct( $descriptor, $context, $messagePrefix );
41 $field = parent::loadInputFromParameters( $fieldname, $descriptor, $parent );
42 $field->setShowEmptyLabel(
false );
47 public function getHTML( $submitResult ) {
50 'mediawiki.ui.button',
52 'mediawiki.ui.checkbox',
55 return parent::getHTML( $submitResult );
67 return [
'class' => [
'mw-htmlform',
'mw-ui-vform',
'mw-ui-container' ] ] +
68 parent::getFormAttributes();
79class_alias( VFormHTMLForm::class,
'VFormHTMLForm' );
wfDeprecated( $function, $version=false, $component=false, $callerOffset=2)
Logs a warning that a deprecated feature was used.
Interface for objects which can provide a MediaWiki context on request.