jenkins-bot has submitted this change and it was merged.

Change subject: Hack: Hack around ULS issue
......................................................................


Hack: Hack around ULS issue

Bug: 57091

Change-Id: I8d4983a432bf7f6197a0ae4159d9e07819f6c174
---
M includes/MobileFrontend.hooks.php
1 file changed, 4 insertions(+), 1 deletion(-)

Approvals:
  Jdlrobson: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/MobileFrontend.hooks.php 
b/includes/MobileFrontend.hooks.php
index feb16a9..744b8db 100644
--- a/includes/MobileFrontend.hooks.php
+++ b/includes/MobileFrontend.hooks.php
@@ -41,7 +41,7 @@
         * @return bool
         */
        public static function onRequestContextCreateSkin( $context, &$skin ) {
-               global $wgMFEnableDesktopResources, $wgMFDefaultSkinClass;
+               global $wgMFEnableDesktopResources, $wgMFDefaultSkinClass, 
$wgULSPosition;
 
                // check whether or not the user has requested to toggle their 
view
                $mobileContext = MobileContext::singleton();
@@ -58,6 +58,9 @@
                        return true;
                }
 
+               // FIXME: Remove hack around Universal Language selector bug 
57091
+               $wgULSPosition = 'none';
+
                // Handle any X-Analytics header values in the request by 
adding them
                // as log items. X-Analytics header values are serialized 
key=value
                // pairs, separated by ';', used for analytics purposes.

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I8d4983a432bf7f6197a0ae4159d9e07819f6c174
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Jdlrobson <[email protected]>
Gerrit-Reviewer: Awjrichards <[email protected]>
Gerrit-Reviewer: Jdlrobson <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to