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
This commit is contained in:
Juliusz Gonera
2014-06-13 13:38:58 -07:00
parent b8517a2a1d
commit 9f61d79a70

View File

@@ -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(