Jforrester has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/378346 )

Change subject: EditPage::getCheckboxes: Stop respecting 
wgUseMediaWikiUIEverywhere
......................................................................

EditPage::getCheckboxes: Stop respecting wgUseMediaWikiUIEverywhere

Change-Id: Ie61c523290c0eef324870f82a90fa852a57aac23
---
M includes/EditPage.php
1 file changed, 0 insertions(+), 6 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/46/378346/1

diff --git a/includes/EditPage.php b/includes/EditPage.php
index 12966e5..248378c 100644
--- a/includes/EditPage.php
+++ b/includes/EditPage.php
@@ -4185,8 +4185,6 @@
         * @return array
         */
        public function getCheckboxes( &$tabindex, $checked ) {
-               global $wgUseMediaWikiUIEverywhere;
-
                $checkboxes = [];
                $checkboxesDef = $this->getCheckboxesDefinition( $checked );
 
@@ -4220,10 +4218,6 @@
                                Xml::check( $name, $options['default'], 
$attribs ) .
                                ' ' .
                                Xml::tags( 'label', $labelAttribs, $label );
-
-                       if ( $wgUseMediaWikiUIEverywhere ) {
-                               $checkboxHtml = Html::rawElement( 'div', [ 
'class' => 'mw-ui-checkbox' ], $checkboxHtml );
-                       }
 
                        $checkboxes[ $legacyName ] = $checkboxHtml;
                }

-- 
To view, visit https://gerrit.wikimedia.org/r/378346
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie61c523290c0eef324870f82a90fa852a57aac23
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Jforrester <jforres...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to