mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-28 01:20:07 +00:00
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:
parent
738ed2bf83
commit
3603dce8ea
|
@ -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": {
|
||||
|
|
Loading…
Reference in a new issue