} else {
$thisAttribs = array( 'id' => "{$this->mID}-$info", 'value' => $info );
+ // @todo: Make this use checkLabel for consistency purposes
$checkbox = Xml::check(
$this->mName . '[]',
in_array( $info, $value, true ),
$label
);
+ if ( $this->mParent->getConfig()->get( 'UseMediaWikiUIEverywhere' ) ) {
+ $checkbox = Html::rawElement(
+ 'div',
+ array( 'class' => 'mw-ui-checkbox' ),
+ $checkbox
+ );
+ }
+
$html .= ' ' . Html::rawElement(
'div',
array( 'class' => 'mw-htmlform-flatlist-item' ),