mediawiki-skins-MinervaNeue/skinStyles
jdlrobson 9150aec131 Feature flag overhaul
Two new feature flags:
1) MinervaPersonalMenu
2) MinervaAdvancedMainMenu

Changes:
* AMC defaults to false on desktop - desktop doesn't have AMC mode it just
enables several skin options.
* WHen inserting a link at the bottom of the page check whether the talk at top
of the page (tabs) is enabled.. not AMC
* Update ServiceWiring to construct menu based on MinervaAdvancedMainMenu
and  MinervaPersonalMenu - note when former is enabled but not latter there is
no way to logout. Noted in README.
* Use one entry point for skins.minerva.amc.styles/index.less
* Document files inside skins.minerva.amc.styles to make it clear which features
they are associated with
* Drop history page styles when AMC is disabled - it's not possible to ever get to
these as the history page redirects in non-AMC mode
* Rename the class .minerva--amc-enabled to minerva--history-page-action-enabled
to reflect its real purpose and move styles from skins.minerva.base.styles to skins.minerva.amc.styles
No need to worry about cached HTML as AMC runs without cache...
* Remove isAnyAMCOptionEnabled - it's an antipattern and should be discouraged as it discourages the
art of feature flagging. Nothing is using it after these changes.
* The AMC_MODE flag is disabled. There is no need for this - AMC is not a feature and therefore not a
skin option. It is a mechanism for turning on other skin options. Tests are updated.

Testing:
It should now be possible to enable any feature in `beta` and see it in the beta of the
site.

Bug: T229295
Change-Id: I48959905f5c09721b14a27aa1a5ad82849ac6263
2019-08-23 10:48:14 -07:00
..
ext.confirmEdit.fancyCaptcha.styles Dev: Prep for storybook 2019-08-21 12:20:26 -07:00
ext.echo.styles.special Dev: Prep for storybook 2019-08-21 12:20:26 -07:00
mediawiki.action.edit.styles Dev: Prep for storybook 2019-08-21 12:20:26 -07:00
mediawiki.content-json JSON content: Fix table margins 2019-05-08 11:37:57 -07:00
mediawiki.editfont.styles Set editfont size to 16px (100%) 2018-11-27 22:56:01 +00:00
mediawiki.hlist Dev: Prep for storybook 2019-08-21 12:20:26 -07:00
mediawiki.page.gallery.styles Dev: Prep for storybook 2019-08-21 12:20:26 -07:00
mediawiki.skinning.content.parsoid Dev: Prep for storybook 2019-08-21 12:20:26 -07:00
mediawiki.special.search.styles Dev: Prep for storybook 2019-08-21 12:20:26 -07:00
mediawiki.special.userlogin.common.styles Dev: Prep for storybook 2019-08-21 12:20:26 -07:00
mobile.languages.structured Dev: Prep for storybook 2019-08-21 12:20:26 -07:00
mobile.notifications.overlay Dev: Prep for storybook 2019-08-21 12:20:26 -07:00
mobile.special.mobilemenu.styles Dev: Prep for storybook 2019-08-21 12:20:26 -07:00
mobile.special.mobileoptions.styles Dev: Prep for storybook 2019-08-21 12:20:26 -07:00
mobile.special.styles Dev: Prep for storybook 2019-08-21 12:20:26 -07:00
mobile.startup Merge "Dev: Prep for storybook" 2019-08-21 21:08:25 +00:00
mediawiki.action.history.styles.less Feature flag overhaul 2019-08-23 10:48:14 -07:00
mediawiki.interface.helpers.styles.less Add Minerva specific mediawiki.interface.helpers.styles.less file 2019-05-07 15:54:13 +02:00
mediawiki.special.changeslist.legend.less Adding skin styles for the changeslist module. 2019-07-30 19:00:09 +02:00
mediawiki.special.changeslist.less Dev: Prep for storybook 2019-08-21 12:20:26 -07:00
README.txt Move remaining Minerva skinStyles from MobileFrontend 2018-05-29 09:30:48 +00:00

If a module introduced by MobileFrontend has Minerva specific styles they are added here and applied
as part of ResourceModuleSkinStyles.