mediawiki-skins-MinervaNeue/skin.json
Moh'd Khier Abualruz 41a5ac75c5 Update modules to not use data URIs to reduce bundle size
- Add "useDataURI": false to following modules:
 -- skins.minerva.mainMenu.advanced.icons
 -- skins.minerva.personalMenu.icons
 -- Remove .mw-ui-icon-mf-next-invert old class kept for caching from edit.page.js

Bug: T346162
Change-Id: I362fdc9c68a7483c182e3540cba6501d9b12959d
2023-12-06 00:24:22 +00:00

569 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.42.0"
},
"config": {
"MinervaDonateLink": {
"value": {
"base": false
}
},
"MinervaDownloadNamespaces": {
"value": [
0
]
},
"MinervaEnableSiteNotice": {
"value": true
},
"MinervaApplyKnownTemplateHacks": {
"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
}
},
"ValidSkinNames": {
"minerva": {
"class": "MediaWiki\\Minerva\\Skins\\SkinMinerva",
"args": [
{
"name": "minerva",
"templateDirectory": "includes/Skins",
"templateSectionLinks": "SectionLinks",
"tempUserBanner": true,
"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"
},
"mobilefrontend": {
"class": "MediaWiki\\Minerva\\MobileFrontendHooks"
}
},
"Hooks": {
"DifferenceEngineViewHeader": "main",
"ResourceLoaderRegisterModules": "main",
"SkinPageReadyConfig": "main",
"UserLogoutComplete": "main",
"FetchChangesList": "main",
"MobileFrontendFeaturesRegistration": "mobilefrontend",
"RequestContextCreateSkinMobile": "mobilefrontend",
"PreferencesGetLayout": "main",
"SpecialPageBeforeExecute": "main",
"ResourceLoaderGetConfigVars": "main",
"OutputPageBodyAttributes": "main"
},
"SkinLessImportPaths": {
"minerva": "resources/mediawiki.less"
},
"MessagesDirs": {
"MinervaNeue": [
"i18n"
]
},
"ResourceFileModulePaths": {
"localBasePath": "",
"remoteSkinPath": "MinervaNeue"
},
"ResourceModuleSkinStyles": {
"minerva": {
"ext.echo.styles.badge": [
"skinStyles/ext.echo.styles.badge.less"
],
"mobile.init.styles": [
"skinStyles/mobile.init.styles/mobile.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": [],
"ext.confirmEdit.fancyCaptcha.styles": [
"skinStyles/ext.confirmEdit.fancyCaptcha.styles/minerva.less"
],
"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"
]
}
},
"ResourceModules": {
"skins.minerva.base.styles": {
"class": "MediaWiki\\Minerva\\ResourceLoaderSkinModule",
"features": [
"accessibility",
"i18n-ordered-lists",
"content-body",
"content-links",
"interface-core"
],
"styles": [
"resources/skins.minerva.base.styles/skin.less",
"resources/skins.minerva.base.styles/content/index.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",
"icons": [
"block",
"ellipsis",
"articleRedirect",
"infoFilled",
"link",
"move",
"lock",
"trash",
"listBullet",
"logoWikidata",
"qrCode",
"quotes",
"unBlock",
"unLock",
"userAvatarOutline",
"userTalk",
"userAvatar",
"userAdd",
"userGroup"
]
},
"skins.minerva.icons.wikimedia": {
"selectorWithVariant": ".minerva-icon--{name}-{variant}",
"selectorWithoutVariant": ".minerva-icon--{name}-base20, .minerva-icon--{name}",
"useDataURI": false,
"defaultColor": "#54595d",
"variants": {
"progressive": {
"color": "#36c",
"global": true
},
"invert": {
"color": "#fff",
"global": true
},
"warning": {
"color": "#fc3",
"global": true
}
},
"class": "MediaWiki\\ResourceLoader\\OOUIIconPackModule",
"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",
"selectorWithoutVariant": ".minerva-icon--{name}",
"defaultColor": "#54595d",
"icons": [
"sandbox"
],
"variants": [],
"useDataURI": false
},
"skins.minerva.mainMenu.advanced.icons": {
"class": "MediaWiki\\ResourceLoader\\OOUIIconPackModule",
"selectorWithoutVariant": ".minerva-icon--{name}",
"defaultColor": "#54595d",
"icons": [
"recentChanges",
"specialPages",
"speechBubbles"
],
"variants": [],
"useDataURI": false
},
"skins.minerva.mainMenu.icons": {
"class": "MediaWiki\\ResourceLoader\\OOUIIconPackModule",
"variants": [],
"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": {
"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-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",
"mobile-frontend-notifications-filter",
"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": [
"resources/skins.minerva.scripts/styles.less"
],
"templates": {
"IssueNotice.mustache": "resources/skins.minerva.scripts/page-issues/overlay/IssueNotice.mustache"
},
"packageFiles": [
"resources/skins.minerva.scripts/setup.js",
"resources/skins.minerva.scripts/addPortletLink.js",
"resources/skins.minerva.scripts/initMobile.js",
"resources/skins.minerva.scripts/searchSuggestReveal.js",
"resources/skins.minerva.scripts/drawers.js",
"resources/skins.minerva.scripts/ctaDrawers.js",
"resources/skins.minerva.scripts/menu.js",
"resources/skins.minerva.scripts/preInit.js",
"resources/skins.minerva.scripts/downloadPageAction.js",
"resources/skins.minerva.scripts/page-issues/parser.js",
"resources/skins.minerva.scripts/AB.js",
"resources/skins.minerva.scripts/page-issues/overlay/IssueNotice.js",
"resources/skins.minerva.scripts/page-issues/overlay/IssueList.js",
"resources/skins.minerva.scripts/page-issues/overlay/pageIssuesOverlay.js",
"resources/skins.minerva.scripts/page-issues/page/PageIssueLearnMoreLink.js",
"resources/skins.minerva.scripts/page-issues/page/PageIssueLink.js",
"resources/skins.minerva.scripts/page-issues/page/pageIssueFormatter.js",
"resources/skins.minerva.scripts/page-issues/index.js",
"resources/skins.minerva.scripts/UriUtil.js",
"resources/skins.minerva.scripts/TitleUtil.js",
"includes/Skins/ToggleList/ToggleList.js",
"resources/skins.minerva.scripts/TabScroll.js",
"resources/skins.minerva.scripts/Toolbar.js",
"resources/skins.minerva.scripts/mobileRedirect.js",
"resources/skins.minerva.scripts/search.js",
"resources/skins.minerva.scripts/references.js",
"resources/skins.minerva.scripts/watchstar.js"
]
},
"skins.minerva.messageBox.styles": {
"class": "MediaWiki\\ResourceLoader\\SkinModule",
"features": [
"interface-message-box"
]
},
"skins.minerva.categories.styles": {
"class": "MediaWiki\\ResourceLoader\\SkinModule",
"features": [
"interface-category"
]
}
},
"QUnitTestModule": {
"localBasePath": "",
"remoteSkinPath": "MinervaNeue",
"dependencies": [
"skins.minerva.messageBox.styles",
"mobile.startup",
"mediawiki.user",
"mediawiki.experiments",
"mediawiki.Uri"
],
"packageFiles": [
"tests/qunit/skins.minerva.scripts/index.js",
"resources/skins.minerva.scripts/page-issues/parser.js",
"resources/skins.minerva.scripts/downloadPageAction.js",
"resources/skins.minerva.scripts/AB.js",
"resources/skins.minerva.scripts/page-issues/overlay/IssueNotice.js",
"resources/skins.minerva.scripts/page-issues/overlay/IssueList.js",
"resources/skins.minerva.scripts/page-issues/overlay/pageIssuesOverlay.js",
"resources/skins.minerva.scripts/page-issues/page/PageIssueLearnMoreLink.js",
"resources/skins.minerva.scripts/page-issues/page/PageIssueLink.js",
"resources/skins.minerva.scripts/page-issues/page/pageIssueFormatter.js",
"resources/skins.minerva.scripts/page-issues/index.js",
"resources/skins.minerva.scripts/UriUtil.js",
"resources/skins.minerva.scripts/TitleUtil.js",
"resources/skins.minerva.scripts/watchstar.js",
"tests/qunit/skins.minerva.scripts/downloadPageAction.test.js",
"tests/qunit/skins.minerva.scripts/page-issues/parser.test.js",
"tests/qunit/skins.minerva.scripts/AB.test.js",
"tests/qunit/skins.minerva.scripts/page-issues/index.test.js",
"tests/qunit/skins.minerva.scripts/UriUtil.test.js",
"tests/qunit/skins.minerva.scripts/TitleUtil.test.js",
"tests/qunit/skins.minerva.scripts/watchstar.test.js"
]
},
"ServiceWiringFiles": [
"includes/ServiceWiring.php"
],
"attributes": {
"MobileFrontend": {
"EditorAvailableSkins": [
"minerva"
]
},
"VisualEditor": {
"IconSkins": [
"minerva"
]
}
},
"manifest_version": 2
}