mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-12-03 02:06:43 +00:00
1b38bfbfc6
By default this module was inheriting variants and since it doesnt declare a property selectorWithVariant it was using the default selectorWithVariant rule which impacts OOUI icons. Explicitly disable the variants for this module as they are unused. This reduces the size of the modules. Follow up to: I87b060cf98194d81679da2610944f58e8d941389 Bug: T374145 Bug: T376226 Change-Id: Icc008449ee498a946066c4ce5d46adcac194bd3b
633 lines
15 KiB
JSON
633 lines
15 KiB
JSON
{
|
|
"name": "MinervaNeue",
|
|
"namemsg": "skinname-minerva",
|
|
"descriptionmsg": "minerva-skin-desc",
|
|
"author": [
|
|
"[https://www.mediawiki.org/wiki/Readers/Web/Team Readers Web Team]",
|
|
"Alex Hollender",
|
|
"Bahodir Mansurov",
|
|
"Florian Schmidt",
|
|
"Jan Drewniak",
|
|
"Joaquin Hernandez",
|
|
"Jon Robson",
|
|
"Juliusz Gonera",
|
|
"Piotr Miazga",
|
|
"Ryan Kaldari",
|
|
"Nick Ray",
|
|
"Sam Smith",
|
|
"Stephen Niedzielski",
|
|
"Volker E."
|
|
],
|
|
"type": "skin",
|
|
"url": "https://www.mediawiki.org/wiki/Skin:MinervaNeue",
|
|
"license-name": "GPL-2.0-or-later",
|
|
"requires": {
|
|
"MediaWiki": ">= 1.43"
|
|
},
|
|
"config": {
|
|
"MinervaDonateLink": {
|
|
"value": {
|
|
"base": false
|
|
}
|
|
},
|
|
"MinervaDownloadNamespaces": {
|
|
"value": [
|
|
0
|
|
]
|
|
},
|
|
"MinervaEnableSiteNotice": {
|
|
"value": true
|
|
},
|
|
"MinervaAlwaysShowLanguageButton": {
|
|
"value": true
|
|
},
|
|
"MinervaTalkAtTop": {
|
|
"value": {
|
|
"base": false,
|
|
"beta": false,
|
|
"loggedin": true
|
|
}
|
|
},
|
|
"MinervaAdvancedMainMenu": {
|
|
"value": {
|
|
"base": false,
|
|
"beta": false,
|
|
"amc": true
|
|
}
|
|
},
|
|
"MinervaPersonalMenu": {
|
|
"value": {
|
|
"base": false,
|
|
"beta": false,
|
|
"amc": true
|
|
}
|
|
},
|
|
"MinervaHistoryInPageActions": {
|
|
"value": {
|
|
"base": false,
|
|
"beta": false,
|
|
"loggedin": true
|
|
}
|
|
},
|
|
"MinervaOverflowInPageActions": {
|
|
"value": {
|
|
"base": false,
|
|
"beta": false,
|
|
"amc": true,
|
|
"loggedin": true
|
|
}
|
|
},
|
|
"MinervaShowCategories": {
|
|
"value": {
|
|
"base": false,
|
|
"loggedin": false,
|
|
"amc": true
|
|
}
|
|
},
|
|
"MinervaPageIssuesNewTreatment": {
|
|
"value": {
|
|
"base": true,
|
|
"beta": true
|
|
}
|
|
},
|
|
"MinervaABSamplingRate": {
|
|
"value": 0
|
|
},
|
|
"MinervaNightMode": {
|
|
"value": {
|
|
"base": false,
|
|
"loggedin": false,
|
|
"amc": true
|
|
}
|
|
},
|
|
"MinervaNightModeOptions": {
|
|
"value": {
|
|
"exclude": {
|
|
"mainpage": false,
|
|
"querystring": {},
|
|
"namespaces": [],
|
|
"pagetitles": []
|
|
}
|
|
},
|
|
"description": "options for configuring where Dark/Night Mode should and should not apply. More details can be found in Hooks::shouldDisableNightMode PHP documentation."
|
|
}
|
|
},
|
|
"ValidSkinNames": {
|
|
"minerva": {
|
|
"class": "MediaWiki\\Minerva\\Skins\\SkinMinerva",
|
|
"services": [
|
|
"GenderCache",
|
|
"LinkRenderer",
|
|
"Minerva.LanguagesHelper",
|
|
"Minerva.Menu.Definitions",
|
|
"Minerva.Menu.PageActions",
|
|
"Minerva.Permissions",
|
|
"Minerva.SkinOptions",
|
|
"Minerva.SkinUserPageHelper",
|
|
"NamespaceInfo",
|
|
"RevisionLookup",
|
|
"UserIdentityUtils",
|
|
"UserOptionsManager"
|
|
],
|
|
"args": [
|
|
{
|
|
"name": "minerva",
|
|
"supportsMwHeading": true,
|
|
"templateDirectory": "includes/Skins",
|
|
"templateSectionLinks": "SectionLinks",
|
|
"tempUserBanner": true,
|
|
"wrapSiteNotice": true,
|
|
"scripts": [
|
|
"skins.minerva.scripts"
|
|
],
|
|
"styles": [
|
|
"skins.minerva.base.styles",
|
|
"skins.minerva.content.styles.images",
|
|
"mediawiki.hlist",
|
|
"skins.minerva.codex.styles",
|
|
"skins.minerva.icons.wikimedia",
|
|
"skins.minerva.mainMenu.icons",
|
|
"skins.minerva.mainMenu.styles"
|
|
],
|
|
"messages": [
|
|
"variants",
|
|
"mobile-frontend-languages-not-available",
|
|
"minerva-page-actions-language-switcher",
|
|
"sitetitle",
|
|
"mainpage",
|
|
"searchbutton",
|
|
"minerva-user-navigation",
|
|
"mobile-frontend-main-menu-button-tooltip",
|
|
"mobile-frontend-footer-sitename"
|
|
],
|
|
"menus": [
|
|
"notifications",
|
|
"associated-pages"
|
|
],
|
|
"clientPrefEnabled": true,
|
|
"responsive": true,
|
|
"link": {
|
|
"text-wrapper": {
|
|
"tag": "span"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"AutoloadNamespaces": {
|
|
"MediaWiki\\Minerva\\": "includes/"
|
|
},
|
|
"ConfigRegistry": {
|
|
"minerva": "GlobalVarConfig::newInstance"
|
|
},
|
|
"HookHandlers": {
|
|
"main": {
|
|
"class": "MediaWiki\\Minerva\\Hooks",
|
|
"services": [
|
|
"ConfiguredReadOnlyMode",
|
|
"Minerva.SkinOptions",
|
|
"UserOptionsLookup"
|
|
],
|
|
"optional_services": [
|
|
"MobileFrontend.Context"
|
|
]
|
|
},
|
|
"mobilefrontend": {
|
|
"class": "MediaWiki\\Minerva\\MobileFrontendHooks",
|
|
"services": [
|
|
"ConfigFactory",
|
|
"Minerva.SkinOptions"
|
|
]
|
|
}
|
|
},
|
|
"Hooks": {
|
|
"DifferenceEngineViewHeader": "main",
|
|
"ResourceLoaderRegisterModules": "main",
|
|
"SkinPageReadyConfig": "main",
|
|
"UserLogoutComplete": "main",
|
|
"FetchChangesList": "main",
|
|
"MobileFrontendFeaturesRegistration": "mobilefrontend",
|
|
"RequestContextCreateSkinMobile": "mobilefrontend",
|
|
"GetPreferences": "main",
|
|
"PreferencesGetLayout": "main",
|
|
"SpecialPageBeforeExecute": "main",
|
|
"ResourceLoaderGetConfigVars": "main",
|
|
"OutputPageBodyAttributes": "main"
|
|
},
|
|
"SkinLessImportPaths": {
|
|
"minerva": "resources/mediawiki.less"
|
|
},
|
|
"MessagesDirs": {
|
|
"MinervaNeue": [
|
|
"i18n"
|
|
]
|
|
},
|
|
"ResourceFileModulePaths": {
|
|
"localBasePath": "",
|
|
"remoteSkinPath": "MinervaNeue"
|
|
},
|
|
"ResourceModuleSkinStyles": {
|
|
"minerva": {
|
|
"ext.visualEditor.core.mobile": [
|
|
"skinStyles/ext.visualEditor.core.mobile.less"
|
|
],
|
|
"ext.echo.styles.badge": [
|
|
"skinStyles/ext.echo.styles.badge.less"
|
|
],
|
|
"mobile.init.styles": [
|
|
"skinStyles/mobile.init.styles/mobile.less"
|
|
],
|
|
"mobile.mediaViewer": [
|
|
"skinStyles/mobile.mediaViewer.less"
|
|
],
|
|
"mobile.special.nearby.styles": [
|
|
"skinStyles/mobile.special.nearby.styles.less"
|
|
],
|
|
"mediawiki.diff.styles": [
|
|
"skinStyles/mediawiki.diff.styles.less"
|
|
],
|
|
"mediawiki.searchSuggest": [
|
|
"skinStyles/mediawiki.searchSuggest/index.less"
|
|
],
|
|
"mediawiki.rcfilters.filters.ui": [
|
|
"skinStyles/mediawiki.rcfilters.filters.ui.less"
|
|
],
|
|
"mediawiki.action.history.styles": [
|
|
"skinStyles/mediawiki.action.history.styles.less"
|
|
],
|
|
"mediawiki.interface.helpers.styles": [
|
|
"skinStyles/mediawiki.interface.helpers.styles.less"
|
|
],
|
|
"mediawiki.rcfilters.highlightCircles.seenunseen.styles": [],
|
|
"mobile.special.mobileoptions.styles": [
|
|
"skinStyles/mobile.special.mobileoptions.styles/minerva.less"
|
|
],
|
|
"mediawiki.page.gallery.styles": [
|
|
"skinStyles/mediawiki.page.gallery.styles/tablet.less"
|
|
],
|
|
"mediawiki.special.search.styles": [
|
|
"skinStyles/mediawiki.special.search.styles/minerva.less"
|
|
],
|
|
"mediawiki.special.search.interwikiwidget.styles": [
|
|
"skinStyles/mediawiki.special.search.interwikiwidget.styles/minerva.less"
|
|
],
|
|
"mediawiki.skinning.content.parsoid": [
|
|
"skinStyles/mediawiki.skinning.content.parsoid/minerva.less"
|
|
],
|
|
"mediawiki.hlist": [
|
|
"skinStyles/mediawiki.hlist/minerva.less"
|
|
],
|
|
"mobile.languages.structured": [
|
|
"skinStyles/mobile.languages.structured/LanguageSearcher.less"
|
|
],
|
|
"mobile.startup": [
|
|
"skinStyles/mobile.startup/mobile.startup.less"
|
|
],
|
|
"mediawiki.special": [
|
|
"skinStyles/mobile.special.styles/minerva.less"
|
|
],
|
|
"mediawiki.special.preferences.styles.ooui": [
|
|
"skinStyles/mediawiki.special.preferences.styles.ooui/minerva.less"
|
|
],
|
|
"mobile.special.styles": [
|
|
"skinStyles/mobile.special.styles/minerva.less"
|
|
],
|
|
"mediawiki.editfont.styles": [
|
|
"skinStyles/mediawiki.editfont.styles/minerva.css"
|
|
],
|
|
"mediawiki.notification": [
|
|
"skinStyles/mobile.startup/drawers.less",
|
|
"skinStyles/mobile.startup/toast.less",
|
|
"skinStyles/mediawiki.watchstar.widgets.css"
|
|
],
|
|
"mediawiki.action.edit.styles": [
|
|
"skinStyles/mediawiki.action.edit.styles/minerva.less"
|
|
],
|
|
"mediawiki.content.json": [
|
|
"skinStyles/mediawiki.content-json/minerva.less"
|
|
],
|
|
"mediawiki.special.changeslist": [
|
|
"skinStyles/mediawiki.special.changeslist.less",
|
|
"skinStyles/mediawiki.special.changeslist.watchlistexpiry.less"
|
|
],
|
|
"mediawiki.special.changeslist.legend": [
|
|
"skinStyles/mediawiki.special.changeslist.legend.less"
|
|
],
|
|
"mobile.special.pagefeed.styles": [
|
|
"skinStyles/mobile.special.pagefeed.styles.less"
|
|
],
|
|
"+ext.CodeMirror.v6.visualEditor": [
|
|
"skinStyles/ext.visualEditor.codeMirror.less"
|
|
]
|
|
}
|
|
},
|
|
"ResourceModules": {
|
|
"skins.minerva.base.styles": {
|
|
"class": "MediaWiki\\ResourceLoader\\SkinModule",
|
|
"features": [
|
|
"normalize",
|
|
"accessibility",
|
|
"i18n-ordered-lists",
|
|
"content-body",
|
|
"content-tables",
|
|
"interface-core"
|
|
],
|
|
"styles": [
|
|
"resources/skins.minerva.base.styles/CSSCustomProperties.less",
|
|
"resources/skins.minerva.base.styles/skin.less"
|
|
]
|
|
},
|
|
"skins.minerva.content.styles.images": {
|
|
"class": "MediaWiki\\ResourceLoader\\ImageModule",
|
|
"selectorWithoutVariant": "{name}",
|
|
"selectorWithVariant": "{name}--{variant}",
|
|
"defaultColor": "#36c",
|
|
"useDataURI": false,
|
|
"variants": {
|
|
"reference": {
|
|
"color": "#69f"
|
|
}
|
|
},
|
|
"images": {
|
|
"toast.mw-notification-type-error, .mw-notification.mw-notification-type-error": "resources/skins.minerva.content.styles.images/error.svg",
|
|
"a.external, .mw-parser-output a.external": {
|
|
"file": {
|
|
"ltr": "resources/skins.minerva.content.styles.images/link-external-ltr.svg",
|
|
"rtl": "resources/skins.minerva.content.styles.images/link-external-rtl.svg"
|
|
},
|
|
"variants": [
|
|
"reference"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"skins.minerva.amc.styles": {
|
|
"styles": [
|
|
"resources/skins.minerva.amc.styles/index.less"
|
|
]
|
|
},
|
|
"skins.minerva.overflow.icons": {
|
|
"selectorWithoutVariant": ".minerva-icon--{name}",
|
|
"useDataURI": false,
|
|
"defaultColor": "#54595d",
|
|
"class": "MediaWiki\\ResourceLoader\\OOUIIconPackModule",
|
|
"variants": [],
|
|
"useMaskImage": true,
|
|
"icons": [
|
|
"block",
|
|
"ellipsis",
|
|
"articleRedirect",
|
|
"infoFilled",
|
|
"link",
|
|
"move",
|
|
"lock",
|
|
"trash",
|
|
"listBullet",
|
|
"logoWikidata",
|
|
"qrCode",
|
|
"quotes",
|
|
"unBlock",
|
|
"unLock",
|
|
"userAvatarOutline",
|
|
"userTalk",
|
|
"userAvatar",
|
|
"userAdd",
|
|
"userGroup"
|
|
]
|
|
},
|
|
"skins.minerva.icons.wikimedia": {
|
|
"selectorWithoutVariant": ".minerva-icon--{name}-base20, .minerva-icon--{name}-disabled, .minerva-icon--{name}",
|
|
"useDataURI": false,
|
|
"defaultColor": "#54595d",
|
|
"class": "MediaWiki\\ResourceLoader\\OOUIIconPackModule",
|
|
"variants": [],
|
|
"useMaskImage": true,
|
|
"icons": [
|
|
"edit",
|
|
"wikiText",
|
|
"editLock",
|
|
"history",
|
|
"language",
|
|
"menu",
|
|
"search",
|
|
"userAvatar",
|
|
"userTalk",
|
|
"star",
|
|
"halfStar",
|
|
"unStar"
|
|
]
|
|
},
|
|
"skins.minerva.mainPage.styles": {
|
|
"styles": [
|
|
"resources/skins.minerva.mainPage.styles/common.less"
|
|
]
|
|
},
|
|
"skins.minerva.userpage.styles": {
|
|
"styles": [
|
|
"resources/skins.minerva.userpage.styles/userpage.less"
|
|
]
|
|
},
|
|
"skins.minerva.personalMenu.icons": {
|
|
"class": "MediaWiki\\ResourceLoader\\OOUIIconPackModule",
|
|
"variants": [],
|
|
"useMaskImage": true,
|
|
"selectorWithoutVariant": ".minerva-icon--{name}",
|
|
"defaultColor": "#54595d",
|
|
"icons": [
|
|
"sandbox"
|
|
],
|
|
"useDataURI": false
|
|
},
|
|
"skins.minerva.mainMenu.advanced.icons": {
|
|
"class": "MediaWiki\\ResourceLoader\\OOUIIconPackModule",
|
|
"useMaskImage": true,
|
|
"selectorWithoutVariant": ".minerva-icon--{name}",
|
|
"defaultColor": "#54595d",
|
|
"icons": [
|
|
"recentChanges",
|
|
"specialPages",
|
|
"speechBubbles"
|
|
],
|
|
"variants": [],
|
|
"useDataURI": false
|
|
},
|
|
"skins.minerva.mainMenu.icons": {
|
|
"class": "MediaWiki\\ResourceLoader\\OOUIIconPackModule",
|
|
"variants": [],
|
|
"useMaskImage": true,
|
|
"selectorWithoutVariant": ".minerva-icon--{name}",
|
|
"defaultColor": "#54595d",
|
|
"useDataURI": false,
|
|
"icons": [
|
|
"die",
|
|
"heart",
|
|
"home",
|
|
"logIn",
|
|
"logOut",
|
|
"mapPin",
|
|
"settings",
|
|
"userContributions",
|
|
"unStar",
|
|
"watchlist"
|
|
]
|
|
},
|
|
"skins.minerva.mainMenu.styles": {
|
|
"styles": [
|
|
"resources/skins.minerva.mainMenu.styles/index.less"
|
|
]
|
|
},
|
|
"skins.minerva.loggedin.styles": {
|
|
"styles": [
|
|
"resources/skins.minerva.loggedin.styles/styles.less"
|
|
]
|
|
},
|
|
"skins.minerva.scripts": {
|
|
"localBasePath": "resources/skins.minerva.scripts",
|
|
"remoteSkinPath": "MinervaNeue/resources/skins.minerva.scripts",
|
|
"dependencies": [
|
|
"skins.minerva.mainMenu.icons",
|
|
"skins.minerva.mainMenu.styles",
|
|
"mediawiki.cookie",
|
|
"skins.minerva.messageBox.styles",
|
|
"mediawiki.util",
|
|
"mediawiki.router",
|
|
"mediawiki.Title",
|
|
"mediawiki.Uri",
|
|
"mobile.startup",
|
|
"mediawiki.user",
|
|
"mediawiki.storage",
|
|
"mediawiki.experiments",
|
|
"mediawiki.page.watch.ajax"
|
|
],
|
|
"messages": [
|
|
"skin-minerva-night-mode-unavailable",
|
|
"skin-minerva-time-ago-seconds",
|
|
"skin-minerva-time-ago-minutes",
|
|
"skin-minerva-time-ago-hours",
|
|
"skin-minerva-time-ago-days",
|
|
"skin-minerva-time-ago-months",
|
|
"skin-minerva-time-ago-years",
|
|
"echo-badge-count",
|
|
"skin-minerva-issue-learn-more",
|
|
"mobile-frontend-meta-data-issues",
|
|
"minerva-meta-data-issues-section-header",
|
|
"mobile-frontend-meta-data-issues-categories",
|
|
"mobile-frontend-meta-data-issues-header",
|
|
"mobile-frontend-languages-not-available",
|
|
"mobile-frontend-cookies-required",
|
|
"mobile-frontend-editor-redlink-create",
|
|
"mobile-frontend-editor-redlink-leave",
|
|
"mobile-frontend-editor-redlink-explain",
|
|
"minerva-download",
|
|
"minerva-watchlist-cta",
|
|
"mobile-frontend-redirected-from"
|
|
],
|
|
"styles": [
|
|
"styles.less"
|
|
],
|
|
"templates": {
|
|
"IssueNotice.mustache": "page-issues/overlay/IssueNotice.mustache"
|
|
},
|
|
"packageFiles": [
|
|
"setup.js",
|
|
"reportIfNightModeWasDisabledOnPage.js",
|
|
"addPortletLink.js",
|
|
"initMobile.js",
|
|
"searchSuggestReveal.js",
|
|
"drawers.js",
|
|
"ctaDrawers.js",
|
|
"menu.js",
|
|
"preInit.js",
|
|
"downloadPageAction.js",
|
|
"page-issues/parser.js",
|
|
"AB.js",
|
|
"page-issues/overlay/IssueNotice.js",
|
|
"page-issues/overlay/IssueList.js",
|
|
"page-issues/overlay/pageIssuesOverlay.js",
|
|
"page-issues/page/PageIssueLearnMoreLink.js",
|
|
"page-issues/page/PageIssueLink.js",
|
|
"page-issues/page/pageIssueFormatter.js",
|
|
"page-issues/index.js",
|
|
"UriUtil.js",
|
|
"TitleUtil.js",
|
|
"../../includes/Skins/ToggleList/ToggleList.js",
|
|
"TabScroll.js",
|
|
"Toolbar.js",
|
|
"mobileRedirect.js",
|
|
"search.js",
|
|
"references.js",
|
|
"watchstar.js"
|
|
]
|
|
},
|
|
"skins.minerva.messageBox.styles": {
|
|
"class": "MediaWiki\\ResourceLoader\\CodexModule",
|
|
"codexStyleOnly": true,
|
|
"codexComponents": [
|
|
"CdxMessage"
|
|
]
|
|
},
|
|
"skins.minerva.categories.styles": {
|
|
"class": "MediaWiki\\ResourceLoader\\SkinModule",
|
|
"features": [
|
|
"interface-category"
|
|
]
|
|
},
|
|
"skins.minerva.codex.styles": {
|
|
"class": "MediaWiki\\ResourceLoader\\CodexModule",
|
|
"codexStyleOnly": true,
|
|
"codexComponents": [
|
|
"CdxButton",
|
|
"CdxMessage"
|
|
]
|
|
}
|
|
},
|
|
"QUnitTestModule": {
|
|
"localBasePath": "tests/qunit/skins.minerva.scripts",
|
|
"remoteSkinPath": "MinervaNeue/tests/qunit/skins.minerva.scripts",
|
|
"dependencies": [
|
|
"mediawiki.cookie",
|
|
"skins.minerva.messageBox.styles",
|
|
"skins.minerva.scripts",
|
|
"mobile.startup",
|
|
"mediawiki.user",
|
|
"mediawiki.experiments",
|
|
"mediawiki.Uri"
|
|
],
|
|
"scripts": [
|
|
"integration.test.js",
|
|
"downloadPageAction.test.js",
|
|
"page-issues/parser.test.js",
|
|
"AB.test.js",
|
|
"page-issues/index.test.js",
|
|
"UriUtil.test.js",
|
|
"TitleUtil.test.js",
|
|
"watchstar.test.js"
|
|
]
|
|
},
|
|
"ServiceWiringFiles": [
|
|
"includes/ServiceWiring.php"
|
|
],
|
|
"attributes": {
|
|
"DarkMode": {
|
|
"Disabled": [
|
|
"minerva"
|
|
]
|
|
},
|
|
"MobileFrontend": {
|
|
"EditorAvailableSkins": [
|
|
"minerva"
|
|
]
|
|
},
|
|
"VisualEditor": {
|
|
"IconSkins": [
|
|
"minerva"
|
|
]
|
|
}
|
|
},
|
|
"DefaultUserOptions": {
|
|
"minerva-theme": "day"
|
|
},
|
|
"manifest_version": 2
|
|
}
|