2017-04-11 02:30:17 +00:00
|
|
|
{
|
2018-05-08 01:19:40 +00:00
|
|
|
"name": "MinervaNeue",
|
|
|
|
"namemsg": "skinname-minerva",
|
|
|
|
"descriptionmsg": "minerva-skin-desc",
|
2018-07-24 11:26:36 +00:00
|
|
|
"author": [
|
|
|
|
"[https://www.mediawiki.org/wiki/Reading/Web/Team Readers Web Team]",
|
|
|
|
"Bahodir Mansurov",
|
|
|
|
"Joaquin Hernandez",
|
|
|
|
"Jon Robson",
|
|
|
|
"Juliusz Gonera",
|
|
|
|
"Ryan Kaldari",
|
|
|
|
"Florian Schmidt",
|
|
|
|
"Sam Smith"
|
|
|
|
],
|
2018-05-08 01:19:40 +00:00
|
|
|
"type": "skin",
|
|
|
|
"url": "https://www.mediawiki.org/wiki/Skin:MinervaNeue",
|
|
|
|
"license-name": "GPL-2.0-or-later",
|
|
|
|
"requires": {
|
2019-09-09 17:35:03 +00:00
|
|
|
"MediaWiki": ">= 1.34.0",
|
2018-05-08 01:19:40 +00:00
|
|
|
"extensions": {
|
|
|
|
"MobileFrontend": ">= 2.1.0"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"config": {
|
2018-10-04 21:31:30 +00:00
|
|
|
"MinervaCountErrors": false,
|
2018-05-08 01:19:40 +00:00
|
|
|
"MinervaDownloadNamespaces": [ 0 ],
|
|
|
|
"MinervaEnableSiteNotice": false,
|
|
|
|
"MinervaCustomLogos": [],
|
|
|
|
"MinervaApplyKnownTemplateHacks": false,
|
|
|
|
"MinervaPageActions": [
|
|
|
|
"edit",
|
|
|
|
"talk",
|
|
|
|
"watch",
|
|
|
|
"switch-language"
|
|
|
|
],
|
|
|
|
"MinervaAlwaysShowLanguageButton": true,
|
2019-01-10 22:59:56 +00:00
|
|
|
"MinervaTalkAtTop": {
|
|
|
|
"base": false,
|
|
|
|
"beta": false,
|
|
|
|
"amc": true
|
|
|
|
},
|
2019-08-22 20:31:31 +00:00
|
|
|
"MinervaAdvancedMainMenu": {
|
|
|
|
"base": false,
|
|
|
|
"beta": false,
|
|
|
|
"amc": true
|
|
|
|
},
|
|
|
|
"MinervaPersonalMenu": {
|
|
|
|
"base": false,
|
|
|
|
"beta": false,
|
|
|
|
"amc": true
|
|
|
|
},
|
2019-03-07 20:50:57 +00:00
|
|
|
"MinervaHistoryInPageActions": {
|
|
|
|
"base": false,
|
|
|
|
"beta": false,
|
|
|
|
"amc": true
|
|
|
|
},
|
2019-04-04 21:20:39 +00:00
|
|
|
"MinervaOverflowInPageActions": {
|
|
|
|
"base": false,
|
|
|
|
"beta": false,
|
2019-07-30 16:22:39 +00:00
|
|
|
"amc": true
|
2019-04-04 21:20:39 +00:00
|
|
|
},
|
2018-05-08 01:19:40 +00:00
|
|
|
"MinervaShowCategoriesButton": {
|
|
|
|
"base": false,
|
|
|
|
"beta": true
|
|
|
|
},
|
2018-11-12 20:32:28 +00:00
|
|
|
"MinervaPageIssuesNewTreatment": {
|
|
|
|
"base": false,
|
|
|
|
"beta": true
|
|
|
|
},
|
2018-09-17 23:37:57 +00:00
|
|
|
"MinervaShowShareButton": {
|
|
|
|
"base": false,
|
2018-10-15 17:42:58 +00:00
|
|
|
"beta": false
|
2018-09-17 23:37:57 +00:00
|
|
|
},
|
2018-05-08 01:19:40 +00:00
|
|
|
"MinervaEnableBackToTop": {
|
|
|
|
"base": false,
|
|
|
|
"beta": true
|
2018-05-08 22:03:52 +00:00
|
|
|
},
|
|
|
|
"MinervaABSamplingRate": 0
|
2018-05-08 01:19:40 +00:00
|
|
|
},
|
|
|
|
"ValidSkinNames": {
|
|
|
|
"minerva": "MinervaNeue"
|
|
|
|
},
|
2019-04-08 17:08:57 +00:00
|
|
|
"AutoloadNamespaces": {
|
2019-05-24 00:07:27 +00:00
|
|
|
"MediaWiki\\Minerva\\Menu\\": "includes/menu/",
|
|
|
|
"MediaWiki\\Minerva\\Permissions\\": "includes/permissions/"
|
2019-04-08 17:08:57 +00:00
|
|
|
},
|
2017-07-12 15:12:40 +00:00
|
|
|
"AutoloadClasses": {
|
2017-08-16 19:18:08 +00:00
|
|
|
"MinervaUI": "includes/MinervaUI.php",
|
2018-04-15 23:12:19 +00:00
|
|
|
"MinervaHooks": "includes/MinervaHooks.php",
|
2017-07-12 15:12:40 +00:00
|
|
|
"MinervaTemplate": "includes/skins/MinervaTemplate.php",
|
|
|
|
"SkinMinerva": "includes/skins/SkinMinerva.php",
|
2017-11-08 00:05:20 +00:00
|
|
|
"SkinMinervaNeue": "includes/skins/SkinMinerva.php",
|
2019-04-08 17:08:57 +00:00
|
|
|
"MediaWiki\\Minerva\\Menu\\Group": "includes/menu/Group.php",
|
|
|
|
"MediaWiki\\Minerva\\MenuBuilder": "includes/menu/Group.php",
|
2018-04-02 23:16:39 +00:00
|
|
|
"MediaWiki\\Minerva\\ResourceLoaderLessVarFileModule": "includes/ResourceLoaderLessVarFileModule.php",
|
2019-04-10 21:43:50 +00:00
|
|
|
"MediaWiki\\Minerva\\SkinOptions": "includes/SkinOptions.php",
|
2019-07-09 16:10:31 +00:00
|
|
|
"MediaWiki\\Minerva\\LanguagesHelper": "includes/LanguagesHelper.php",
|
2017-07-12 15:12:40 +00:00
|
|
|
"MediaWiki\\Minerva\\SkinUserPageHelper": "includes/skins/SkinUserPageHelper.php"
|
|
|
|
},
|
2017-06-09 22:09:22 +00:00
|
|
|
"ConfigRegistry": {
|
2017-07-12 15:12:40 +00:00
|
|
|
"minerva": "GlobalVarConfig::newInstance"
|
|
|
|
},
|
|
|
|
"Hooks": {
|
2019-08-01 20:15:19 +00:00
|
|
|
"UserLogoutComplete": [
|
|
|
|
"MinervaHooks::onUserLogoutComplete"
|
|
|
|
],
|
2019-07-17 21:01:29 +00:00
|
|
|
"FetchChangesList": [
|
|
|
|
"MinervaHooks::onFetchChangesList"
|
|
|
|
],
|
2018-01-08 22:18:16 +00:00
|
|
|
"MobileFrontendFeaturesRegistration": [
|
|
|
|
"MinervaHooks::onMobileFrontendFeaturesRegistration"
|
|
|
|
],
|
2017-07-12 15:12:40 +00:00
|
|
|
"RequestContextCreateSkinMobile": [
|
|
|
|
"MinervaHooks::onRequestContextCreateSkinMobile"
|
|
|
|
],
|
|
|
|
"SpecialPageBeforeExecute": [
|
|
|
|
"MinervaHooks::onSpecialPageBeforeExecute"
|
2018-08-13 14:29:05 +00:00
|
|
|
],
|
|
|
|
"ResourceLoaderGetConfigVars": [
|
|
|
|
"MinervaHooks::onResourceLoaderGetConfigVars"
|
2017-07-12 15:12:40 +00:00
|
|
|
]
|
2018-08-13 14:29:05 +00:00
|
|
|
|
2017-06-09 22:09:22 +00:00
|
|
|
},
|
|
|
|
"MessagesDirs": {
|
|
|
|
"MinervaNeue": [
|
|
|
|
"i18n"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"ResourceFileModulePaths": {
|
|
|
|
"localBasePath": "",
|
|
|
|
"remoteSkinPath": "MinervaNeue"
|
|
|
|
},
|
|
|
|
"ResourceModuleSkinStyles": {
|
2017-07-12 15:12:40 +00:00
|
|
|
"minerva": {
|
2019-09-02 15:58:33 +00:00
|
|
|
"mediawiki.rcfilters.filters.ui": [
|
|
|
|
"skinStyles/mediawiki.rcfilters.filters.ui.less"
|
|
|
|
],
|
2019-03-29 21:43:19 +00:00
|
|
|
"mediawiki.action.history.styles": [
|
|
|
|
"skinStyles/mediawiki.action.history.styles.less"
|
|
|
|
],
|
2019-05-07 13:17:04 +00:00
|
|
|
"mediawiki.interface.helpers.styles": [
|
|
|
|
"skinStyles/mediawiki.interface.helpers.styles.less"
|
|
|
|
],
|
2019-03-29 21:43:19 +00:00
|
|
|
"mediawiki.rcfilters.highlightCircles.seenunseen.styles": [],
|
2019-01-16 19:18:52 +00:00
|
|
|
"ext.confirmEdit.fancyCaptcha.styles": [
|
|
|
|
"skinStyles/ext.confirmEdit.fancyCaptcha.styles/minerva.less"
|
|
|
|
],
|
2017-12-01 18:52:02 +00:00
|
|
|
"mobile.special.mobileoptions.styles": [
|
|
|
|
"skinStyles/mobile.special.mobileoptions.styles/minerva.less"
|
|
|
|
],
|
2017-12-13 02:03:28 +00:00
|
|
|
"mediawiki.page.gallery.styles": [
|
|
|
|
"skinStyles/mediawiki.page.gallery.styles/tablet.less"
|
|
|
|
],
|
2017-08-18 18:45:41 +00:00
|
|
|
"mediawiki.special.userlogin.common.styles": [
|
|
|
|
"skinStyles/mediawiki.special.userlogin.common.styles/minerva.less"
|
|
|
|
],
|
|
|
|
"mediawiki.special.search.styles": [
|
|
|
|
"skinStyles/mediawiki.special.search.styles/minerva.less"
|
|
|
|
],
|
2018-09-17 20:56:57 +00:00
|
|
|
"mediawiki.skinning.content.parsoid": [
|
|
|
|
"skinStyles/mediawiki.skinning.content.parsoid/minerva.less"
|
|
|
|
],
|
2017-06-01 23:09:24 +00:00
|
|
|
"mediawiki.hlist": [
|
|
|
|
"skinStyles/mediawiki.hlist/minerva.less"
|
2019-09-09 20:42:56 +00:00
|
|
|
],
|
2019-09-11 12:19:47 +00:00
|
|
|
"mediawiki.ui.icon": [
|
2019-09-09 20:42:56 +00:00
|
|
|
"skinStyles/mediawiki.ui.icon/mediawiki.ui.icon.less"
|
2017-06-01 23:09:24 +00:00
|
|
|
],
|
2017-07-12 15:12:40 +00:00
|
|
|
"mobile.languages.structured": [
|
2019-02-22 17:59:56 +00:00
|
|
|
"skinStyles/mobile.languages.structured/LanguageSearcher.less"
|
2017-07-12 15:12:40 +00:00
|
|
|
],
|
|
|
|
"mobile.startup": [
|
2019-02-22 18:15:34 +00:00
|
|
|
"skinStyles/mobile.startup/mobile.startup.less"
|
2017-07-12 15:12:40 +00:00
|
|
|
],
|
2017-08-18 18:45:41 +00:00
|
|
|
"mediawiki.special": [
|
|
|
|
"skinStyles/mobile.special.styles/minerva.less"
|
|
|
|
],
|
|
|
|
"mobile.special.styles": [
|
|
|
|
"skinStyles/mobile.special.styles/minerva.less"
|
|
|
|
],
|
2017-07-12 15:12:40 +00:00
|
|
|
"ext.echo.styles.special": [
|
|
|
|
"skinStyles/ext.echo.styles.special/SpecialNotificationsOverlay.less"
|
|
|
|
],
|
2018-04-02 20:06:27 +00:00
|
|
|
"mediawiki.editfont.styles": [
|
|
|
|
"skinStyles/mediawiki.editfont.styles/minerva.css"
|
|
|
|
],
|
2017-07-12 15:12:40 +00:00
|
|
|
"mediawiki.notification": [
|
2019-08-08 20:01:03 +00:00
|
|
|
"skinStyles/mobile.startup/drawers.less",
|
2017-07-12 15:12:40 +00:00
|
|
|
"skinStyles/mobile.startup/toast.less"
|
|
|
|
],
|
|
|
|
"mediawiki.action.edit.styles": [
|
|
|
|
"skinStyles/mediawiki.action.edit.styles/minerva.less"
|
|
|
|
],
|
2019-10-01 20:00:38 +00:00
|
|
|
"mobile.special.mobilediff.styles": [
|
|
|
|
"skinStyles/mobile.special.mobilediff.styles/minerva.less"
|
|
|
|
],
|
2017-07-12 15:12:40 +00:00
|
|
|
"mobile.special.mobilemenu.styles": [
|
|
|
|
"skinStyles/mobile.special.mobilemenu.styles/minerva.less"
|
2018-05-20 11:25:56 +00:00
|
|
|
],
|
2019-10-01 21:40:49 +00:00
|
|
|
"ext.echo.mobile": [
|
|
|
|
"skinStyles/ext.echo.mobile/minerva.less"
|
|
|
|
],
|
2018-05-20 11:25:56 +00:00
|
|
|
"mobile.notifications.overlay": [
|
2019-10-01 21:40:49 +00:00
|
|
|
"skinStyles/ext.echo.mobile/minerva.less"
|
2019-05-03 15:27:33 +00:00
|
|
|
],
|
|
|
|
"mediawiki.content.json": [
|
|
|
|
"skinStyles/mediawiki.content-json/minerva.less"
|
2019-07-29 09:50:05 +00:00
|
|
|
],
|
|
|
|
"mediawiki.special.changeslist": [
|
|
|
|
"skinStyles/mediawiki.special.changeslist.less"
|
|
|
|
],
|
|
|
|
"mediawiki.special.changeslist.legend": [
|
|
|
|
"skinStyles/mediawiki.special.changeslist.legend.less"
|
2017-07-12 15:12:40 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2018-07-11 15:16:21 +00:00
|
|
|
"EventLoggingSchemas": {
|
2019-03-15 22:37:11 +00:00
|
|
|
"WebClientError": 18340282,
|
2019-07-22 20:05:46 +00:00
|
|
|
"MobileWebShareButton": 18923688
|
2018-07-11 15:16:21 +00:00
|
|
|
},
|
2017-07-12 15:12:40 +00:00
|
|
|
"ResourceModules": {
|
|
|
|
"skins.minerva.base.styles": {
|
|
|
|
"targets": [
|
|
|
|
"mobile",
|
|
|
|
"desktop"
|
|
|
|
],
|
|
|
|
"styles": [
|
2019-01-11 00:35:18 +00:00
|
|
|
"resources/skins.minerva.base.styles/reset.less",
|
2017-07-12 15:12:40 +00:00
|
|
|
"resources/skins.minerva.base.styles/ui.less",
|
|
|
|
"resources/skins.minerva.base.styles/pageactions.less",
|
[UI] [new] add user menu
Add new user menu. The changes required include:
- Break up AuthMenuEntry into reusable components. They're now simple,
independent, static functions in AuthUtil that are easy to reason
about and compose.
There's lots of verbose code because of the builder and director
patterns. That is, most of the code is for building the thing we
actually want to build instead of just building it. It's easy to write
but no fun to read--even simple configurations are extremely verbose
expressions that must be threaded through the system.
These builders are also single purpose and unlikely to be reusable
unlike a URI builder, for example. As objects, they're not especially
composable either.
- Similarly, break up Menu/DefaultBuilder into BuilderUtil and ban
inheritance. Inheritance has not worked well on the frontend of
MobileFrontend. I don't think it's going to work well here. E.g., I
could have made changes to the base class' getPersonalTools() method
such that the client passes a parameter for the advanced config or
maybe I just override it in the subclass. In either case, I think it
makes the whole hierarchy nuanced and harder to reason about for
something that should be simple.
- Add ProfileMenuEntry and LogOutMenuEntry for the user menu.
- Rename insertLogInOutMenuItem() to insertAuthMenuItem() which matches
the entry name, AuthMenuEntry.
- Extension:SandboxLink is needed to display the sandbox link in the
user menu.
- Performance note: the toolbar is now processed in MinervaTemplate,
which corresponds to removing the buildPersonalUrls() override.
- To mimic the design of main menu, the following steps would be
necessary:
1. Create a user/Default and user/Advanced user menu builder and also
a user/IBuilder interface.
2. Create a user/Director.
3. Create a service entry for Minerva.Menu.UserDirector in
ServiceWiring. The Director is actually powerless and doesn't get
to make any decisions--the appropriate builder is passed in from
ServiceWiring which checks the mode.
4. Access the service in SkinMinerva to set a userMenuHTML data member
on the Minerva QuickTemplate.
5. In MinervaTemplate, access the userMenuHTML QuickTemplate member
and do the usual song and dance of inflating a Mustache template.
This patch does everything except add a service, which was agreed to
be unnecessary, so that logic is now in SkinMinerva.
- Wrap the existing echo user notifications button and new user menu
button in a nav element. This seems like a semantic improvement.
- The existing styling and logic for the search bar and search overlay
are pretty messy and delicate. Changes made to that LESS endeavored to
be surgical. There's lots of room for improvement in the toolbar but
it's out of scope.
- Rename logout icon to logOut.
Bug: T214540
Change-Id: Ib517864fcf4e4d611e05525a6358ee6662fe4e05
2019-06-25 20:12:58 +00:00
|
|
|
"resources/skins.minerva.base.styles/userMenu.less",
|
2017-07-12 15:12:40 +00:00
|
|
|
"resources/skins.minerva.base.styles/common.less",
|
|
|
|
"resources/skins.minerva.base.styles/images.less",
|
|
|
|
"resources/skins.minerva.base.styles/footer.less",
|
2017-08-28 20:51:20 +00:00
|
|
|
"resources/skins.minerva.base.styles/print/styles.less"
|
2017-07-12 15:12:40 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"skins.minerva.content.styles": {
|
2018-04-02 23:16:39 +00:00
|
|
|
"class": "MediaWiki\\Minerva\\ResourceLoaderLessVarFileModule",
|
2017-07-12 15:12:40 +00:00
|
|
|
"targets": [
|
|
|
|
"mobile",
|
|
|
|
"desktop"
|
|
|
|
],
|
|
|
|
"styles": [
|
2019-01-11 00:28:25 +00:00
|
|
|
"resources/skins.minerva.content.styles/styles.less",
|
|
|
|
"resources/skins.minerva.content.styles/tablet/styles.less"
|
2017-07-12 15:12:40 +00:00
|
|
|
]
|
|
|
|
},
|
2018-06-14 16:51:50 +00:00
|
|
|
"skins.minerva.content.styles.images": {
|
|
|
|
"class": "ResourceLoaderImageModule",
|
2019-04-25 14:06:08 +00:00
|
|
|
"selectorWithoutVariant": "{name}",
|
|
|
|
"selectorWithVariant": "{name}--{variant}",
|
2018-06-26 23:25:31 +00:00
|
|
|
"defaultColor": "#36c",
|
2018-07-05 23:52:21 +00:00
|
|
|
"useDataURI": false,
|
2019-04-25 14:06:08 +00:00
|
|
|
"variants": {
|
|
|
|
"reference": {
|
|
|
|
"color": "#69f",
|
|
|
|
"global": true
|
|
|
|
}
|
|
|
|
},
|
2018-06-14 16:51:50 +00:00
|
|
|
"images": {
|
2018-07-05 23:34:31 +00:00
|
|
|
"input.search,.mw-ui-icon-minerva-magnifying-glass:before": "resources/skins.minerva.content.styles.images/magnifying-glass.svg",
|
|
|
|
"a.external": {
|
2018-06-14 16:51:50 +00:00
|
|
|
"file": {
|
|
|
|
"ltr": "resources/skins.minerva.content.styles.images/link-external-ltr.svg",
|
|
|
|
"rtl": "resources/skins.minerva.content.styles.images/link-external-rtl.svg"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2017-12-13 01:25:10 +00:00
|
|
|
"skins.minerva.icons.loggedin": {
|
2019-07-09 19:12:51 +00:00
|
|
|
"class": "ResourceLoaderOOUIIconPackModule",
|
|
|
|
"targets": [
|
|
|
|
"mobile",
|
|
|
|
"desktop"
|
|
|
|
],
|
2018-07-05 23:52:21 +00:00
|
|
|
"useDataURI": false,
|
2019-07-09 19:12:51 +00:00
|
|
|
"defaultColor": "#54595d",
|
|
|
|
"variants": [],
|
|
|
|
"selectorWithoutVariant": ".mw-ui-icon-wikimedia-{name}-base20:before",
|
|
|
|
"icons": [ "bellOutline" ]
|
2017-12-13 01:25:10 +00:00
|
|
|
},
|
2019-01-10 22:59:56 +00:00
|
|
|
"skins.minerva.amc.styles": {
|
|
|
|
"targets": [
|
|
|
|
"mobile",
|
|
|
|
"desktop"
|
|
|
|
],
|
|
|
|
"styles": [
|
2019-08-22 20:31:31 +00:00
|
|
|
"resources/skins.minerva.amc.styles/index.less"
|
2019-01-10 22:59:56 +00:00
|
|
|
]
|
|
|
|
},
|
2019-04-04 21:20:39 +00:00
|
|
|
"wikimedia.ui": {
|
2019-07-12 15:38:41 +00:00
|
|
|
"selectorWithoutVariant": ".wikimedia-ui-{name}-base20:before",
|
2019-04-04 21:20:39 +00:00
|
|
|
"useDataURI": false,
|
2019-07-12 15:38:41 +00:00
|
|
|
"defaultColor": "#54595d",
|
|
|
|
"class": "ResourceLoaderOOUIIconPackModule",
|
2019-08-29 14:52:32 +00:00
|
|
|
"icons": [ "articleRedirect", "infoFilled", "link", "listBullet",
|
2019-09-05 10:10:58 +00:00
|
|
|
"logoWikidata",
|
|
|
|
"logoWikimedia",
|
|
|
|
"quotes",
|
|
|
|
"upload",
|
|
|
|
"userAvatarOutline",
|
|
|
|
"userTalk",
|
|
|
|
"userAvatar",
|
|
|
|
"userGroup"
|
|
|
|
]
|
2019-07-09 19:12:51 +00:00
|
|
|
},
|
|
|
|
"skins.minerva.icons.wikimedia": {
|
2019-09-17 21:30:33 +00:00
|
|
|
"selectorWithVariant": ".mw-ui-icon-wikimedia-{name}-{variant}:before",
|
2019-07-09 19:12:51 +00:00
|
|
|
"selectorWithoutVariant": ".mw-ui-icon-wikimedia-{name}-base20:before, .mw-ui-background-icon-{name}",
|
|
|
|
"useDataURI": false,
|
|
|
|
"defaultColor": "#54595d",
|
|
|
|
"class": "ResourceLoaderOOUIIconPackModule",
|
2019-09-17 21:30:33 +00:00
|
|
|
"icons": [ "search", "userAvatar", "star", "unStar" ]
|
2019-04-04 21:20:39 +00:00
|
|
|
},
|
2017-07-12 15:12:40 +00:00
|
|
|
"skins.minerva.icons.images": {
|
|
|
|
"class": "ResourceLoaderImageModule",
|
2019-03-21 14:50:23 +00:00
|
|
|
"selectorWithoutVariant": ".mw-ui-icon-minerva-{name}:before",
|
|
|
|
"selectorWithVariant": ".mw-ui-icon-minerva-{name}-{variant}:before",
|
2018-07-05 23:52:21 +00:00
|
|
|
"useDataURI": false,
|
2019-03-21 14:50:23 +00:00
|
|
|
"defaultColor": "#54595d",
|
|
|
|
"variants": {
|
|
|
|
"invert": {
|
|
|
|
"color": "#fff",
|
|
|
|
"global": false
|
2019-06-24 17:59:11 +00:00
|
|
|
},
|
|
|
|
"base20": {
|
|
|
|
"color": "#54595d",
|
|
|
|
"global": false
|
2019-03-21 14:50:23 +00:00
|
|
|
}
|
|
|
|
},
|
2017-07-12 15:12:40 +00:00
|
|
|
"images": {
|
2019-09-06 19:13:20 +00:00
|
|
|
"toc": {
|
|
|
|
"file": {
|
|
|
|
"ltr": "resources/skins.minerva.icons.images/toc-ltr.svg",
|
|
|
|
"rtl": "resources/skins.minerva.icons.images/toc-rtl.svg"
|
|
|
|
}
|
|
|
|
},
|
2018-05-08 22:03:52 +00:00
|
|
|
"warning": "resources/skins.minerva.icons.images/warning.svg",
|
2017-07-12 15:12:40 +00:00
|
|
|
"mainmenu": "resources/skins.minerva.icons.images/hamburger.svg",
|
|
|
|
"edit": "resources/skins.minerva.icons.images/editLocked.svg",
|
|
|
|
"edit-enabled": "resources/skins.minerva.icons.images/edit.svg",
|
2019-06-24 17:59:11 +00:00
|
|
|
"language-switcher": {
|
|
|
|
"file": "resources/skins.minerva.icons.images/languageSwitcher.svg",
|
|
|
|
"variants": [ "base20" ]
|
|
|
|
},
|
2019-03-21 14:50:23 +00:00
|
|
|
"clock": {
|
|
|
|
"file": "resources/skins.minerva.icons.images/clock.svg",
|
|
|
|
"variants": [ "invert" ]
|
2019-04-04 21:20:39 +00:00
|
|
|
},
|
|
|
|
"page-actions-overflow": "resources/skins.minerva.icons.images/page-actions-overflow.svg"
|
2017-07-12 15:12:40 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"skins.minerva.icons.images.scripts": {
|
2018-07-10 20:06:51 +00:00
|
|
|
"targets": [
|
|
|
|
"mobile",
|
|
|
|
"desktop"
|
|
|
|
],
|
|
|
|
"dependencies": [
|
|
|
|
"skins.minerva.icons.images.scripts.misc",
|
|
|
|
"skins.minerva.icons.page.issues.uncolored",
|
|
|
|
"skins.minerva.icons.page.issues.default.color",
|
|
|
|
"skins.minerva.icons.page.issues.medium.color"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"skins.minerva.icons.images.scripts.misc": {
|
|
|
|
"class": "ResourceLoaderImageModule",
|
|
|
|
"selector": ".mw-ui-icon-minerva-{name}:before",
|
|
|
|
"images": {
|
2018-07-10 02:45:15 +00:00
|
|
|
"download": "resources/skins.minerva.icons.images.scripts.misc/download.svg"
|
2018-07-10 20:06:51 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"skins.minerva.icons.page.issues.uncolored": {
|
2017-07-12 15:12:40 +00:00
|
|
|
"class": "ResourceLoaderImageModule",
|
2018-01-05 18:52:17 +00:00
|
|
|
"selector": ".mw-ui-icon-minerva-{name}:before",
|
2017-07-12 15:12:40 +00:00
|
|
|
"images": {
|
2018-07-10 20:06:51 +00:00
|
|
|
"issue-severity-low-lowColor": "resources/skins.minerva.icons.page.issues.uncolored/issue-severity-low.svg",
|
|
|
|
"issue-type-move-defaultColor": "resources/skins.minerva.icons.page.issues.uncolored/issue-type-move.svg"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"skins.minerva.icons.page.issues.default.color": {
|
|
|
|
"class": "ResourceLoaderImageModule",
|
|
|
|
"selectorWithoutVariant": ".mw-ui-icon-minerva-{name}-defaultColor:before",
|
|
|
|
"selectorWithVariant": ".mw-ui-icon-minerva-{name}-{variant}:before",
|
|
|
|
"defaultColor": "#54595d",
|
|
|
|
"variants": {
|
|
|
|
"lowColor": { "color": "#fc3", "global": true },
|
|
|
|
"mediumColor": { "color": "#ff5d01", "global": true },
|
|
|
|
"highColor": { "color": "#d33", "global": true }
|
|
|
|
},
|
|
|
|
"images": {
|
|
|
|
"issue-generic": "resources/skins.minerva.icons.page.issues.default.color/issue-generic.svg"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"skins.minerva.icons.page.issues.medium.color": {
|
|
|
|
"class": "ResourceLoaderImageModule",
|
|
|
|
"selector": ".mw-ui-icon-minerva-{name}-mediumColor:before",
|
|
|
|
"defaultColor": "#ff5d01",
|
|
|
|
"images": {
|
|
|
|
"issue-severity-medium": "resources/skins.minerva.icons.page.issues.medium.color/issue-severity-medium.svg",
|
|
|
|
"issue-type-point-of-view": "resources/skins.minerva.icons.page.issues.medium.color/issue-type-point-of-view.svg"
|
2017-07-12 15:12:40 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"skins.minerva.mainPage.styles": {
|
|
|
|
"targets": [
|
|
|
|
"mobile",
|
|
|
|
"desktop"
|
|
|
|
],
|
|
|
|
"styles": [
|
|
|
|
"resources/skins.minerva.mainPage.styles/common.less"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"skins.minerva.userpage.icons": {
|
|
|
|
"class": "ResourceLoaderImageModule",
|
2018-04-11 21:08:24 +00:00
|
|
|
"selector": ".mw-ui-icon-mf-{name}:before",
|
2017-07-12 15:12:40 +00:00
|
|
|
"images": {
|
2018-02-14 00:14:54 +00:00
|
|
|
"talk": "resources/skins.minerva.userpage.icons/talk.svg"
|
2017-07-12 15:12:40 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"skins.minerva.userpage.styles": {
|
|
|
|
"targets": [
|
|
|
|
"mobile",
|
|
|
|
"desktop"
|
|
|
|
],
|
|
|
|
"styles": [
|
|
|
|
"resources/skins.minerva.userpage.styles/userpage.less"
|
|
|
|
]
|
|
|
|
},
|
2019-08-22 22:13:57 +00:00
|
|
|
"skins.minerva.personalMenu.icons": {
|
2017-07-12 15:12:40 +00:00
|
|
|
"class": "ResourceLoaderImageModule",
|
2018-01-05 18:52:17 +00:00
|
|
|
"selector": ".mw-ui-icon-minerva-{name}:before",
|
2019-06-06 12:39:52 +00:00
|
|
|
"defaultColor": "#4A4F53",
|
2017-07-12 15:12:40 +00:00
|
|
|
"images": {
|
2019-08-22 15:37:57 +00:00
|
|
|
"login": {
|
|
|
|
"file": {
|
|
|
|
"ltr": "resources/skins.minerva.mainMenu.icons/logIn-ltr.svg",
|
|
|
|
"rtl": "resources/skins.minerva.mainMenu.icons/logIn-rtl.svg"
|
|
|
|
}
|
|
|
|
},
|
[UI] [new] add user menu
Add new user menu. The changes required include:
- Break up AuthMenuEntry into reusable components. They're now simple,
independent, static functions in AuthUtil that are easy to reason
about and compose.
There's lots of verbose code because of the builder and director
patterns. That is, most of the code is for building the thing we
actually want to build instead of just building it. It's easy to write
but no fun to read--even simple configurations are extremely verbose
expressions that must be threaded through the system.
These builders are also single purpose and unlikely to be reusable
unlike a URI builder, for example. As objects, they're not especially
composable either.
- Similarly, break up Menu/DefaultBuilder into BuilderUtil and ban
inheritance. Inheritance has not worked well on the frontend of
MobileFrontend. I don't think it's going to work well here. E.g., I
could have made changes to the base class' getPersonalTools() method
such that the client passes a parameter for the advanced config or
maybe I just override it in the subclass. In either case, I think it
makes the whole hierarchy nuanced and harder to reason about for
something that should be simple.
- Add ProfileMenuEntry and LogOutMenuEntry for the user menu.
- Rename insertLogInOutMenuItem() to insertAuthMenuItem() which matches
the entry name, AuthMenuEntry.
- Extension:SandboxLink is needed to display the sandbox link in the
user menu.
- Performance note: the toolbar is now processed in MinervaTemplate,
which corresponds to removing the buildPersonalUrls() override.
- To mimic the design of main menu, the following steps would be
necessary:
1. Create a user/Default and user/Advanced user menu builder and also
a user/IBuilder interface.
2. Create a user/Director.
3. Create a service entry for Minerva.Menu.UserDirector in
ServiceWiring. The Director is actually powerless and doesn't get
to make any decisions--the appropriate builder is passed in from
ServiceWiring which checks the mode.
4. Access the service in SkinMinerva to set a userMenuHTML data member
on the Minerva QuickTemplate.
5. In MinervaTemplate, access the userMenuHTML QuickTemplate member
and do the usual song and dance of inflating a Mustache template.
This patch does everything except add a service, which was agreed to
be unnecessary, so that logic is now in SkinMinerva.
- Wrap the existing echo user notifications button and new user menu
button in a nav element. This seems like a semantic improvement.
- The existing styling and logic for the search bar and search overlay
are pretty messy and delicate. Changes made to that LESS endeavored to
be surgical. There's lots of room for improvement in the toolbar but
it's out of scope.
- Rename logout icon to logOut.
Bug: T214540
Change-Id: Ib517864fcf4e4d611e05525a6358ee6662fe4e05
2019-06-25 20:12:58 +00:00
|
|
|
"logout": {
|
|
|
|
"file": {
|
|
|
|
"ltr": "resources/skins.minerva.mainMenu.icons/logOut-ltr.svg",
|
|
|
|
"rtl": "resources/skins.minerva.mainMenu.icons/logOut-rtl.svg"
|
|
|
|
}
|
|
|
|
},
|
2017-07-12 15:12:40 +00:00
|
|
|
"watchlist": "resources/skins.minerva.mainMenu.icons/watchlist.svg",
|
2019-08-27 17:07:33 +00:00
|
|
|
"userSandbox": "resources/skins.minerva.personalMenu.icons/userSandbox.svg"
|
2019-08-22 22:13:57 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"skins.minerva.mainMenu.advanced.icons": {
|
|
|
|
"class": "ResourceLoaderImageModule",
|
|
|
|
"selector": ".mw-ui-icon-minerva-{name}:before",
|
|
|
|
"defaultColor": "#4A4F53",
|
|
|
|
"images": {
|
2019-07-30 17:27:34 +00:00
|
|
|
"recentchanges": {
|
|
|
|
"file": {
|
2019-08-22 22:13:57 +00:00
|
|
|
"ltr":"resources/skins.minerva.mainMenu.advanced.icons/recentChanges-ltr.svg",
|
|
|
|
"rtl": "resources/skins.minerva.mainMenu.advanced.icons/recentChanges-rtl.svg"
|
2019-07-30 17:27:34 +00:00
|
|
|
}
|
|
|
|
},
|
2019-06-06 12:39:52 +00:00
|
|
|
"specialpages": {
|
|
|
|
"file": {
|
2019-08-22 22:13:57 +00:00
|
|
|
"ltr":"resources/skins.minerva.mainMenu.advanced.icons/specialpages-ltr.svg",
|
|
|
|
"rtl": "resources/skins.minerva.mainMenu.advanced.icons/specialpages-rtl.svg"
|
2019-06-06 12:39:52 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"communityportal": {
|
|
|
|
"file": {
|
2019-08-22 22:13:57 +00:00
|
|
|
"ltr": "resources/skins.minerva.mainMenu.advanced.icons/communityportal-ltr.svg",
|
|
|
|
"rtl": "resources/skins.minerva.mainMenu.advanced.icons/communityportal-rtl.svg"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"skins.minerva.mainMenu.icons": {
|
|
|
|
"class": "ResourceLoaderImageModule",
|
|
|
|
"selector": ".mw-ui-icon-minerva-{name}:before",
|
|
|
|
"defaultColor": "#4A4F53",
|
|
|
|
"images": {
|
2019-08-27 17:33:56 +00:00
|
|
|
"contributions": {
|
|
|
|
"file": {
|
|
|
|
"ltr": "resources/skins.minerva.mainMenu.icons/contributions-ltr.svg",
|
|
|
|
"rtl": "resources/skins.minerva.mainMenu.icons/contributions-rtl.svg"
|
|
|
|
}
|
|
|
|
},
|
2019-08-22 15:37:57 +00:00
|
|
|
"login": {
|
|
|
|
"file": {
|
|
|
|
"ltr": "resources/skins.minerva.mainMenu.icons/logIn-ltr.svg",
|
|
|
|
"rtl": "resources/skins.minerva.mainMenu.icons/logIn-rtl.svg"
|
|
|
|
}
|
|
|
|
},
|
2019-08-22 22:13:57 +00:00
|
|
|
"home": "resources/skins.minerva.mainMenu.icons/home.svg",
|
|
|
|
"logout": {
|
|
|
|
"file": {
|
|
|
|
"ltr": "resources/skins.minerva.mainMenu.icons/logOut-ltr.svg",
|
|
|
|
"rtl": "resources/skins.minerva.mainMenu.icons/logOut-rtl.svg"
|
2019-06-06 12:39:52 +00:00
|
|
|
}
|
[UI] [new] add user menu
Add new user menu. The changes required include:
- Break up AuthMenuEntry into reusable components. They're now simple,
independent, static functions in AuthUtil that are easy to reason
about and compose.
There's lots of verbose code because of the builder and director
patterns. That is, most of the code is for building the thing we
actually want to build instead of just building it. It's easy to write
but no fun to read--even simple configurations are extremely verbose
expressions that must be threaded through the system.
These builders are also single purpose and unlikely to be reusable
unlike a URI builder, for example. As objects, they're not especially
composable either.
- Similarly, break up Menu/DefaultBuilder into BuilderUtil and ban
inheritance. Inheritance has not worked well on the frontend of
MobileFrontend. I don't think it's going to work well here. E.g., I
could have made changes to the base class' getPersonalTools() method
such that the client passes a parameter for the advanced config or
maybe I just override it in the subclass. In either case, I think it
makes the whole hierarchy nuanced and harder to reason about for
something that should be simple.
- Add ProfileMenuEntry and LogOutMenuEntry for the user menu.
- Rename insertLogInOutMenuItem() to insertAuthMenuItem() which matches
the entry name, AuthMenuEntry.
- Extension:SandboxLink is needed to display the sandbox link in the
user menu.
- Performance note: the toolbar is now processed in MinervaTemplate,
which corresponds to removing the buildPersonalUrls() override.
- To mimic the design of main menu, the following steps would be
necessary:
1. Create a user/Default and user/Advanced user menu builder and also
a user/IBuilder interface.
2. Create a user/Director.
3. Create a service entry for Minerva.Menu.UserDirector in
ServiceWiring. The Director is actually powerless and doesn't get
to make any decisions--the appropriate builder is passed in from
ServiceWiring which checks the mode.
4. Access the service in SkinMinerva to set a userMenuHTML data member
on the Minerva QuickTemplate.
5. In MinervaTemplate, access the userMenuHTML QuickTemplate member
and do the usual song and dance of inflating a Mustache template.
This patch does everything except add a service, which was agreed to
be unnecessary, so that logic is now in SkinMinerva.
- Wrap the existing echo user notifications button and new user menu
button in a nav element. This seems like a semantic improvement.
- The existing styling and logic for the search bar and search overlay
are pretty messy and delicate. Changes made to that LESS endeavored to
be surgical. There's lots of room for improvement in the toolbar but
it's out of scope.
- Rename logout icon to logOut.
Bug: T214540
Change-Id: Ib517864fcf4e4d611e05525a6358ee6662fe4e05
2019-06-25 20:12:58 +00:00
|
|
|
},
|
2019-08-22 22:13:57 +00:00
|
|
|
"nearby": "resources/skins.minerva.mainMenu.icons/nearby.svg",
|
|
|
|
"random": "resources/skins.minerva.mainMenu.icons/random.svg",
|
|
|
|
"settings": "resources/skins.minerva.mainMenu.icons/settings.svg",
|
|
|
|
"watchlist": "resources/skins.minerva.mainMenu.icons/watchlist.svg"
|
2017-07-12 15:12:40 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"skins.minerva.mainMenu.styles": {
|
|
|
|
"targets": [
|
|
|
|
"mobile",
|
|
|
|
"desktop"
|
|
|
|
],
|
|
|
|
"styles": [
|
2019-08-01 20:35:10 +00:00
|
|
|
"resources/skins.minerva.mainMenu.styles/MainMenu.less",
|
|
|
|
"resources/skins.minerva.mainMenu.styles/MainMenuItem.less",
|
|
|
|
"resources/skins.minerva.mainMenu.styles/MainMenuFooter.less",
|
|
|
|
"resources/skins.minerva.mainMenu.styles/NotificationsOverlay.less"
|
2017-07-12 15:12:40 +00:00
|
|
|
]
|
|
|
|
},
|
2017-12-13 01:25:10 +00:00
|
|
|
"skins.minerva.loggedin.styles": {
|
|
|
|
"targets": [
|
|
|
|
"mobile",
|
|
|
|
"desktop"
|
|
|
|
],
|
|
|
|
"styles": [
|
|
|
|
"resources/skins.minerva.loggedin.styles/styles.less"
|
|
|
|
]
|
|
|
|
},
|
2017-07-12 15:12:40 +00:00
|
|
|
"skins.minerva.scripts": {
|
|
|
|
"targets": [
|
|
|
|
"mobile",
|
|
|
|
"desktop"
|
|
|
|
],
|
|
|
|
"dependencies": [
|
2019-07-09 19:12:51 +00:00
|
|
|
"skins.minerva.icons.wikimedia",
|
2019-07-02 21:10:10 +00:00
|
|
|
"mediawiki.ui.anchor",
|
2019-04-04 21:20:39 +00:00
|
|
|
"wikimedia.ui",
|
2019-02-07 16:09:20 +00:00
|
|
|
"skins.minerva.mainMenu.icons",
|
|
|
|
"skins.minerva.mainMenu.styles",
|
2018-03-02 00:27:00 +00:00
|
|
|
"jquery.cookie",
|
2017-10-18 21:03:51 +00:00
|
|
|
"skins.minerva.icons.images.scripts",
|
2017-07-12 15:12:40 +00:00
|
|
|
"mediawiki.util",
|
|
|
|
"mediawiki.router",
|
|
|
|
"mediawiki.Title",
|
2019-03-04 22:19:33 +00:00
|
|
|
"mediawiki.Uri",
|
2017-07-12 15:12:40 +00:00
|
|
|
"mobile.startup",
|
2018-05-09 15:14:44 +00:00
|
|
|
"mediawiki.user",
|
|
|
|
"mediawiki.storage",
|
|
|
|
"mediawiki.experiments"
|
2017-07-12 15:12:40 +00:00
|
|
|
],
|
|
|
|
"messages": [
|
2019-07-02 21:10:10 +00:00
|
|
|
"echo-badge-count",
|
|
|
|
"mobile-frontend-notifications-filter",
|
2018-05-08 22:03:52 +00:00
|
|
|
"skin-minerva-issue-learn-more",
|
2017-07-12 15:12:40 +00:00
|
|
|
"mobile-frontend-meta-data-issues",
|
2018-07-11 21:13:19 +00:00
|
|
|
"minerva-meta-data-issues-section-header",
|
2017-07-12 15:12:40 +00:00
|
|
|
"mobile-frontend-meta-data-issues-talk",
|
|
|
|
"mobile-frontend-meta-data-issues-categories",
|
|
|
|
"mobile-frontend-meta-data-issues-header",
|
|
|
|
"mobile-frontend-meta-data-issues-header-talk",
|
|
|
|
"mobile-frontend-languages-not-available",
|
|
|
|
"mobile-frontend-cookies-required",
|
2018-09-20 22:52:35 +00:00
|
|
|
"mobile-frontend-editor-redlink-create",
|
|
|
|
"mobile-frontend-editor-redlink-leave",
|
|
|
|
"mobile-frontend-editor-redlink-explain",
|
2017-10-18 21:03:51 +00:00
|
|
|
"minerva-download",
|
2019-09-19 21:19:07 +00:00
|
|
|
"minerva-watchlist-cta",
|
2017-07-12 15:12:40 +00:00
|
|
|
"mobile-frontend-redirected-from"
|
|
|
|
],
|
2018-04-13 17:17:36 +00:00
|
|
|
"styles": [
|
2018-08-16 19:00:38 +00:00
|
|
|
"resources/skins.minerva.scripts/styles.less",
|
2019-07-10 20:10:43 +00:00
|
|
|
"resources/skins.minerva.scripts/page-issues/overlay/pageIssuesOverlay.less"
|
2018-04-13 17:17:36 +00:00
|
|
|
],
|
2018-08-16 19:00:38 +00:00
|
|
|
"templates": {
|
2019-10-04 15:03:19 +00:00
|
|
|
"IssueNotice.mustache": "resources/skins.minerva.scripts/page-issues/overlay/IssueNotice.mustache",
|
|
|
|
"menu.mustache": "resources/skins.minerva.scripts/menu/menu.mustache",
|
|
|
|
"menuGroup.mustache": "resources/skins.minerva.scripts/menu/menuGroup.mustache"
|
2018-08-16 19:00:38 +00:00
|
|
|
},
|
2019-07-02 21:10:10 +00:00
|
|
|
"packageFiles": [
|
|
|
|
"resources/skins.minerva.scripts/init.js",
|
2019-09-19 21:19:07 +00:00
|
|
|
"resources/skins.minerva.scripts/ctaDrawers.js",
|
2019-02-07 16:09:20 +00:00
|
|
|
"resources/skins.minerva.scripts/menu/MainMenu.js",
|
|
|
|
"resources/skins.minerva.scripts/menu.js",
|
2018-09-06 20:47:13 +00:00
|
|
|
"resources/skins.minerva.scripts/errorLogging.js",
|
2017-07-12 15:12:40 +00:00
|
|
|
"resources/skins.minerva.scripts/preInit.js",
|
2018-11-08 00:06:54 +00:00
|
|
|
"resources/skins.minerva.scripts/downloadPageAction.js",
|
2019-07-02 20:34:03 +00:00
|
|
|
"resources/skins.minerva.scripts/page-issues/parser.js",
|
2018-07-30 14:45:44 +00:00
|
|
|
"resources/skins.minerva.scripts/AB.js",
|
2018-11-24 01:49:47 +00:00
|
|
|
"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",
|
2019-01-23 20:16:11 +00:00
|
|
|
"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",
|
2019-07-02 20:34:03 +00:00
|
|
|
"resources/skins.minerva.scripts/page-issues/index.js",
|
2019-03-04 22:19:33 +00:00
|
|
|
"resources/skins.minerva.scripts/UriUtil.js",
|
|
|
|
"resources/skins.minerva.scripts/TitleUtil.js",
|
2019-06-20 19:17:50 +00:00
|
|
|
"components/ToggleList/ToggleList.js",
|
2019-06-25 01:10:51 +00:00
|
|
|
"resources/skins.minerva.scripts/TabScroll.js",
|
2019-04-04 21:20:39 +00:00
|
|
|
"resources/skins.minerva.scripts/Toolbar.js",
|
2017-07-12 15:12:40 +00:00
|
|
|
"resources/skins.minerva.scripts/mobileRedirect.js",
|
|
|
|
"resources/skins.minerva.scripts/search.js",
|
2019-09-18 23:07:21 +00:00
|
|
|
"resources/skins.minerva.scripts/references.js",
|
|
|
|
"resources/skins.minerva.scripts/talk.js",
|
|
|
|
"resources/skins.minerva.scripts/watchstar.js"
|
2017-07-12 15:12:40 +00:00
|
|
|
]
|
|
|
|
},
|
2018-09-17 23:37:57 +00:00
|
|
|
"skins.minerva.options.share.icon": {
|
|
|
|
"class": "ResourceLoaderImageModule",
|
|
|
|
"selector": ".mw-ui-icon-minerva-{name}:before",
|
|
|
|
"images": {
|
|
|
|
"share": "resources/skins.minerva.options/share.svg"
|
|
|
|
}
|
|
|
|
},
|
2018-09-26 23:03:20 +00:00
|
|
|
"skins.minerva.options": {
|
2017-07-12 15:12:40 +00:00
|
|
|
"targets": [
|
|
|
|
"mobile",
|
|
|
|
"desktop"
|
|
|
|
],
|
|
|
|
"dependencies": [
|
2018-09-26 23:03:20 +00:00
|
|
|
"skins.minerva.scripts",
|
2018-09-17 23:37:57 +00:00
|
|
|
"mediawiki.language",
|
|
|
|
"mobile.startup",
|
|
|
|
"skins.minerva.options.share.icon"
|
|
|
|
],
|
|
|
|
"messages": [
|
|
|
|
"skin-minerva-share"
|
2017-07-12 15:12:40 +00:00
|
|
|
],
|
2017-10-23 16:37:32 +00:00
|
|
|
"templates": {
|
2019-04-25 02:34:01 +00:00
|
|
|
"BackToTopOverlay.mustache": "resources/skins.minerva.options/BackToTopOverlay.mustache"
|
2017-10-23 16:37:32 +00:00
|
|
|
},
|
|
|
|
"styles": [
|
2018-09-26 23:03:20 +00:00
|
|
|
"resources/skins.minerva.options/backtotop.less"
|
2017-07-12 15:12:40 +00:00
|
|
|
],
|
2019-07-05 22:21:34 +00:00
|
|
|
"packageFiles": [
|
|
|
|
"resources/skins.minerva.options/index.js",
|
2018-09-26 23:03:20 +00:00
|
|
|
"resources/skins.minerva.options/BackToTopOverlay.js",
|
|
|
|
"resources/skins.minerva.options/backtotop.js",
|
2018-09-17 23:37:57 +00:00
|
|
|
"resources/skins.minerva.options/categories.js",
|
2019-03-15 22:37:11 +00:00
|
|
|
"resources/skins.minerva.options/trackShare.js",
|
2019-01-03 23:26:54 +00:00
|
|
|
"resources/skins.minerva.options/shareIcon.js",
|
2018-09-17 23:37:57 +00:00
|
|
|
"resources/skins.minerva.options/share.js"
|
2017-07-12 15:12:40 +00:00
|
|
|
]
|
|
|
|
}
|
2017-06-09 22:09:22 +00:00
|
|
|
},
|
2019-09-20 20:50:23 +00:00
|
|
|
"QUnitTestModule": {
|
|
|
|
"localBasePath": "",
|
|
|
|
"remoteSkinPath": "MinervaNeue",
|
|
|
|
"dependencies": [
|
|
|
|
"mobile.startup",
|
|
|
|
"mediawiki.user",
|
|
|
|
"mediawiki.experiments"
|
|
|
|
],
|
|
|
|
"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",
|
|
|
|
"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",
|
2019-10-01 21:40:49 +00:00
|
|
|
"tests/qunit/skins.minerva.scripts/TitleUtil.test.js"
|
2019-09-20 20:50:23 +00:00
|
|
|
]
|
|
|
|
},
|
2019-04-10 12:52:34 +00:00
|
|
|
"ServiceWiringFiles": [
|
|
|
|
"includes/ServiceWiring.php"
|
|
|
|
],
|
2018-05-08 01:19:40 +00:00
|
|
|
"manifest_version": 1
|
2018-04-14 17:54:25 +00:00
|
|
|
}
|