Allow styles to run on mobile

Any skins. prefixed ResourceLoader style modules are okay to run on mobile
given they should only run in the context of the skin.

See I7c000165c61a4bd2094f23b6ffd96335f7f7818f
with that patch and the following enabled:
$wgMFDefaultSkinClass = 'SkinVector';
$wgVectorResponsive = true;

you'll be able to use the Vector skin in mobile mode.

Change-Id: I7b796385ce9786c2c7900e5acc36b1b4dbbb5b97
This commit is contained in:
jdlrobson 2016-01-28 16:25:13 -08:00 committed by Florianschmidtwelzow
parent 738ed2bf83
commit 3603dce8ea

View file

@ -31,6 +31,7 @@
"@note": "When modifying skins.vector.styles definition, make sure the installer still works",
"ResourceModules": {
"skins.vector.styles": {
"targets": [ "desktop", "mobile" ],
"position": "top",
"styles": {
"screen.less": {
@ -42,6 +43,7 @@
}
},
"skins.vector.styles.responsive": {
"targets": [ "desktop", "mobile" ],
"position": "top",
"styles": {
"responsive.less": {