406adb14f2
Should avoid more of the issues with unwanted appearance of mobile layouts. Cutoff results in layout switch when sidebar becomes ~a third of the total window width. bug: T196213 Change-Id: I9b8baee5fe53316128f864e732c86750b4e5470e
78 lines
1.9 KiB
JSON
78 lines
1.9 KiB
JSON
{
|
|
"name": "MonoBook",
|
|
"author": [
|
|
"Gabriel Wicke",
|
|
"Isarra Yos",
|
|
"..."
|
|
],
|
|
"url": "https://www.mediawiki.org/wiki/Skin:MonoBook",
|
|
"descriptionmsg": "monobook-desc",
|
|
"namemsg": "skinname-monobook",
|
|
"license-name": "GPL-2.0-or-later",
|
|
"type": "skin",
|
|
"requires": {
|
|
"MediaWiki": ">= 1.29.0"
|
|
},
|
|
"ValidSkinNames": {
|
|
"monobook": "MonoBook"
|
|
},
|
|
"SkinOOUIThemes": {
|
|
"monobook": "Apex"
|
|
},
|
|
"Hooks": {
|
|
"ResourceLoaderRegisterModules": "SkinMonoBook::registerMobileExtensionStyles"
|
|
},
|
|
"MessagesDirs": {
|
|
"MonoBook": [
|
|
"i18n"
|
|
]
|
|
},
|
|
"ResourceModules": {
|
|
"skins.monobook.styles": {
|
|
"targets": [ "desktop", "mobile" ],
|
|
"styles": {
|
|
"resources/screen-common.less": {
|
|
"media": "screen"
|
|
},
|
|
"resources/screen-desktop.css": {
|
|
"media": "screen and (min-width: 551px)"
|
|
},
|
|
"resources/screen-mobile.less": {
|
|
"media": "screen and (max-width: 550px)"
|
|
}
|
|
}
|
|
},
|
|
"skins.monobook.mobile": {
|
|
"targets": [ "desktop", "mobile" ],
|
|
"scripts": [
|
|
"resources/mobile.js"
|
|
],
|
|
"styles": {
|
|
"resources/mobile.js.less": {
|
|
"media": "screen and (max-width: 550px)"
|
|
}
|
|
},
|
|
"dependencies": [
|
|
"mediawiki.util"
|
|
]
|
|
}
|
|
},
|
|
"ResourceFileModulePaths": {
|
|
"localBasePath": "",
|
|
"remoteSkinPath": "MonoBook"
|
|
},
|
|
"ResourceModuleSkinStyles": {
|
|
"monobook": {
|
|
"+mediawiki.action.view.redirectPage": "resources/skinStyles/mediawiki.action.view.redirectPage.css",
|
|
"+mediawiki.special.preferences.styles": "resources/skinStyles/mediawiki.special.preferences.styles.less",
|
|
"+mediawiki.notification": "resources/skinStyles/mediawiki.notification.less",
|
|
"+oojs-ui-core.styles": "resources/skinStyles/ooui.less",
|
|
"+ext.uls.interface": "resources/skinStyles/ext.uls.interface.less"
|
|
}
|
|
},
|
|
"AutoloadClasses": {
|
|
"SkinMonoBook": "includes/SkinMonoBook.php",
|
|
"MonoBookTemplate": "includes/MonoBookTemplate.php"
|
|
},
|
|
"manifest_version": 1
|
|
}
|