From 9f61d79a70dbb093c11ae41d4f99bb1169a86985 Mon Sep 17 00:00:00 2001 From: Juliusz Gonera Date: Fri, 13 Jun 2014 13:38:58 -0700 Subject: [PATCH] Add mobile target for modules that VE depends on VE has its own copy of ULS, but uses it only if ULS is not loaded. If ULS is loaded, original ULS modules are used and mobile target specified in VE is not sufficient. See also I6e1024b0f636b3a18d1073f5c38b9feea340b583 Bug: 66594 Change-Id: I8e521f537fcd5089e4a9e8e94bedcc6f49ceabe1 --- Resources.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Resources.php b/Resources.php index 7c756efc..8a35290b 100644 --- a/Resources.php +++ b/Resources.php @@ -215,6 +215,7 @@ $wgResourceModules['jquery.i18n'] = array( 'sl' => 'lib/jquery.i18n/languages/sl.js', 'uk' => 'lib/jquery.i18n/languages/uk.js', ), + 'targets' => array( 'desktop', 'mobile' ), ) + $resourcePaths; $wgResourceModules['jquery.ime'] = array( @@ -265,6 +266,7 @@ $wgResourceModules['jquery.uls.data'] = array( 'lib/jquery.uls/src/jquery.uls.data.js', 'lib/jquery.uls/src/jquery.uls.data.utils.js', ), + 'targets' => array( 'desktop', 'mobile' ), ) + $resourcePaths; $wgResourceModules['jquery.uls.grid'] = array(