abe94aa408
Changes in HTML markup that fix various bugs and lead to consistencies with other skins: * firstHeading now has `dir` attribute * `tagline` message no longer parsed - plain text only - this is consistent with other skins * printfooter now child of #bodyContent * #ca-view is outputted (but hidden with CSS) * Order of attributes on #p-search-label changed * Search input form elements are no longer self closing * The #mw-searchButton element gains class mw-fallbackSearchButton * The generated-sidebar class is no longer present on sidebar portlets, consistent with other skins * The print link disappears when ElectronPdf is installed so there are not two print links. Changes in functionality: * Previously (in getCactions) a nomobile class would be added if less than 2 tabs. If not 1 tab, more would be appended. This is dropped. Bug: T285989 Change-Id: I03d0dc1dad23894e7e64ceeb8956692316265144
116 lines
2.8 KiB
JSON
116 lines
2.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": "SkinMustache",
|
|
"args": [
|
|
{
|
|
"name": "monobook",
|
|
"responsive": true,
|
|
"templateDirectory": "templates/",
|
|
"scripts": [ "skins.monobook.scripts" ],
|
|
"styles": [ "skins.monobook.styles" ],
|
|
"messages": [
|
|
"tagline",
|
|
"nstab-main",
|
|
"nstab-talk",
|
|
"monobook-more-actions",
|
|
"otherlanguages",
|
|
"toolbox",
|
|
"navigation-heading",
|
|
"monobook-jumptotop",
|
|
"monobook-jumptopersonal",
|
|
"monobook-jumptosearch",
|
|
"monobook-cactions-label",
|
|
"monobook-jumptonavigation"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"SkinOOUIThemes": {
|
|
"monobook": "Apex"
|
|
},
|
|
"SkinLessImportPaths": {
|
|
"monobook": "resources/mediawiki.less"
|
|
},
|
|
"Hooks": {
|
|
"OutputPageBodyAttributes": "MonoBook\\Hooks::onOutputPageBodyAttributes",
|
|
"SkinTemplateNavigation::Universal": "MonoBook\\Hooks::onSkinTemplateNavigationUniversal"
|
|
},
|
|
"MessagesDirs": {
|
|
"MonoBook": [
|
|
"i18n"
|
|
]
|
|
},
|
|
"ResourceModules": {
|
|
"skins.monobook.styles": {
|
|
"class": "ResourceLoaderSkinModule",
|
|
"features": {
|
|
"normalize": true,
|
|
"elements": true,
|
|
"logo": true,
|
|
"content-media": true,
|
|
"content-links": 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/skin.less",
|
|
"resources/skin-responsive.less"
|
|
]
|
|
},
|
|
"skins.monobook.scripts": {
|
|
"targets": [ "desktop", "mobile" ],
|
|
"packageFiles": [
|
|
"resources/skin.js",
|
|
"resources/mobile-uls.js",
|
|
"resources/mobile-echo.js"
|
|
],
|
|
"styles": "resources/skin.js.less",
|
|
"dependencies": [
|
|
"oojs-ui.styles.icons-alerts",
|
|
"mediawiki.util"
|
|
],
|
|
"messages": [
|
|
"monobook-notifications-link",
|
|
"monobook-notifications-link-none"
|
|
]
|
|
}
|
|
},
|
|
"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
|
|
}
|