ff1d2fcf0f
skins.monobook.mobile which was incorrectly identified as a ResourceLoaderSkinModule is removed. This module was always loaded in JavaScript alongside one of the modified modules Bug: T287410 Change-Id: Ia1e15b606b3eee1ae442bd71765778269d11fd38
165 lines
3.8 KiB
JSON
165 lines
3.8 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.36.0"
|
|
},
|
|
"ValidSkinNames": {
|
|
"monobook": {
|
|
"class": "MonoBook\\SkinMonoBook",
|
|
"args": [
|
|
{
|
|
"name": "monobook",
|
|
"template": "MonoBook\\MonoBookTemplate"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"SkinOOUIThemes": {
|
|
"monobook": "Apex"
|
|
},
|
|
"DefaultUserOptions": {
|
|
"monobook-responsive": true
|
|
},
|
|
"SkinLessImportPaths": {
|
|
"monobook": "resources/mediawiki.less"
|
|
},
|
|
"Hooks": {
|
|
"OutputPageBodyAttributes": "MonoBook\\Hooks::onOutputPageBodyAttributes",
|
|
"GetPreferences": "MonoBook\\Hooks::onGetPreferences"
|
|
},
|
|
"MessagesDirs": {
|
|
"MonoBook": [
|
|
"i18n"
|
|
]
|
|
},
|
|
"ResourceModules": {
|
|
"skins.monobook.styles": {
|
|
"class": "ResourceLoaderSkinModule",
|
|
"features": {
|
|
"normalize": true,
|
|
"elements": true,
|
|
"logo": true,
|
|
"content": true,
|
|
"content-links": true,
|
|
"content-thumbnails": true,
|
|
"content-tables": true,
|
|
"interface": true,
|
|
"interface-message-box": true,
|
|
"interface-category": true,
|
|
"i18n-ordered-lists": true,
|
|
"i18n-all-lists-margins": true,
|
|
"i18n-headings": true
|
|
},
|
|
"styles": {
|
|
"resources/screen-common.less": {
|
|
"media": "screen"
|
|
},
|
|
"resources/screen-desktop.less": {
|
|
"media": "screen"
|
|
},
|
|
"resources/print-common.less": {
|
|
"media": "print"
|
|
}
|
|
}
|
|
},
|
|
"skins.monobook.responsive": {
|
|
"class": "ResourceLoaderSkinModule",
|
|
"features": {
|
|
"normalize": true,
|
|
"elements": true,
|
|
"logo": true,
|
|
"content": true,
|
|
"content-links": true,
|
|
"content-thumbnails": true,
|
|
"content-tables": true,
|
|
"interface": true,
|
|
"interface-message-box": true,
|
|
"interface-category": true,
|
|
"i18n-ordered-lists": true,
|
|
"i18n-all-lists-margins": true,
|
|
"i18n-headings": true
|
|
},
|
|
"targets": [
|
|
"desktop",
|
|
"mobile"
|
|
],
|
|
"styles": {
|
|
"resources/screen-common.less": {
|
|
"media": "screen"
|
|
},
|
|
"resources/screen-desktop.less": {
|
|
"media": "screen and (min-width: 551px)"
|
|
},
|
|
"resources/screen-mobile.less": {
|
|
"media": "screen and (max-width: 550px)"
|
|
},
|
|
"resources/print-common.less": {
|
|
"media": "print"
|
|
}
|
|
}
|
|
},
|
|
"skins.monobook.mobile.uls": {
|
|
"targets": [ "desktop", "mobile" ],
|
|
"scripts": [ "resources/mobile-uls.js" ]
|
|
},
|
|
"skins.monobook.mobile.echohack": {
|
|
"targets": [ "desktop", "mobile" ],
|
|
"scripts": [ "resources/mobile-echo.js" ],
|
|
"styles": {
|
|
"resources/mobile-echo.less": {
|
|
"media": "screen and (max-width: 550px)"
|
|
}
|
|
},
|
|
"dependencies": [
|
|
"oojs-ui.styles.icons-alerts",
|
|
"mediawiki.util"
|
|
],
|
|
"messages": [
|
|
"monobook-notifications-link",
|
|
"monobook-notifications-link-none"
|
|
]
|
|
},
|
|
"skins.monobook.mobile": {
|
|
"targets": [ "desktop", "mobile" ],
|
|
"packageFiles": [
|
|
"resources/mobile.js",
|
|
"resources/optional-enhancements.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.notification": "resources/skinStyles/mediawiki.notification.less",
|
|
"+oojs-ui-core.styles": "resources/skinStyles/ooui.less",
|
|
"+ext.uls.interface": "resources/skinStyles/ext.uls.interface.less",
|
|
"+ext.relatedArticles.readMore": "resources/skinStyles/ext.relatedArticles.readMore.less"
|
|
}
|
|
},
|
|
"AutoloadNamespaces": {
|
|
"MonoBook\\": "includes/"
|
|
},
|
|
"manifest_version": 2
|
|
}
|