512151ddf2
Add `"supportsMwHeading": true` to the skin definition, so that MediaWiki 1.43+ will output new heading markup when using this skin. https://www.mediawiki.org/wiki/Heading_HTML_changes No CSS changes are required. Depends-On: I1180169a8e83af834c2984ba16089e6277f2a8dd Bug: T13555 Change-Id: I3b0e70eb3711425d0a1136f103824acc4a4a51ef
129 lines
3.1 KiB
JSON
129 lines
3.1 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.42"
|
|
},
|
|
"ValidSkinNames": {
|
|
"monobook": {
|
|
"class": "SkinMustache",
|
|
"args": [
|
|
{
|
|
"name": "monobook",
|
|
"supportsMwHeading": true,
|
|
"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"
|
|
},
|
|
"HookHandlers": {
|
|
"main": {
|
|
"class": "MonoBook\\Hooks"
|
|
}
|
|
},
|
|
"Hooks": {
|
|
"OutputPageBodyAttributes": "main",
|
|
"SkinTemplateNavigation::Universal": "main"
|
|
},
|
|
"MessagesDirs": {
|
|
"MonoBook": [
|
|
"i18n"
|
|
]
|
|
},
|
|
"ResourceModules": {
|
|
"skins.monobook.styles": {
|
|
"class": "MediaWiki\\ResourceLoader\\SkinModule",
|
|
"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": {
|
|
"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",
|
|
"mediawiki.user"
|
|
],
|
|
"messages": [
|
|
"monobook-notifications-link",
|
|
"monobook-notifications-link-none"
|
|
]
|
|
}
|
|
},
|
|
"ResourceFileModulePaths": {
|
|
"localBasePath": "",
|
|
"remoteSkinPath": "MonoBook"
|
|
},
|
|
"ResourceModuleSkinStyles": {
|
|
"monobook": {
|
|
"ext.echo.styles.badge": "resources/skinStyles/ext.echo.styles.badge.less",
|
|
"+mediawiki.action.view.filepage": "resources/skinStyles/mediawiki.action.view.filepage.less",
|
|
"+mediawiki.action.view.redirectPage": "resources/skinStyles/mediawiki.action.view.redirectPage.css",
|
|
"+mediawiki.notification": "resources/skinStyles/mediawiki.notification.less",
|
|
"+mediawiki.page.ready": "resources/skinStyles/teleportTarget.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
|
|
}
|