From 3603dce8eaa29043e2011a3eaa49fd5d5f90098e Mon Sep 17 00:00:00 2001 From: jdlrobson Date: Thu, 28 Jan 2016 16:25:13 -0800 Subject: [PATCH] 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 --- skin.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/skin.json b/skin.json index 2b6f9b3..22a219d 100644 --- a/skin.json +++ b/skin.json @@ -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": {