Merge "Fix list=logevents for new revision delete log entries"
[lhc/web/wiklou.git] / includes / htmlform / HTMLMultiSelectField.php
index 30310a2..8d28b59 100644 (file)
@@ -59,11 +59,13 @@ class HTMLMultiSelectField extends HTMLFormField implements HTMLNestedFilterable
                                        $label
                                );
 
-                               $checkbox = Html::rawElement(
-                                       'div',
-                                       array( 'class' => 'mw-ui-checkbox' ),
-                                       $checkbox
-                               );
+                               if ( $this->mParent->getConfig()->get( 'UseMediaWikiUIEverywhere' ) ) {
+                                       $checkbox = Html::rawElement(
+                                               'div',
+                                               array( 'class' => 'mw-ui-checkbox' ),
+                                               $checkbox
+                                       );
+                               }
 
                                $html .= ' ' . Html::rawElement(
                                        'div',