VectorGOLEM/resources
jdlrobson 6998c536d4 Both UserMenu stylesheets should be shipped in modern
Since we have feature flagged the new user menu feature, it is
imperative we load both sets of styles until the feature has
shipped. This allows us to switch seamlessly between the two
without worrying about cached HTML being served with updated CSS.

To do this, we add a new class to both user menu's distinguishing
the legacy version from the modern version. The styles are then
scoped to these new selectors.

This also fixes some regressions with the legacy user menu in
modern Vector when wgVectorConsolidateUserLinks is disabled.

Notes:
* No caching selector is needed for #pt-userpage given it can only
ever be output for logged in users.
* ID selectors in general are bad, so scoping to mw-portlet-personal-user-menu-legacy
isolates the legacy component allowing it to be rendered alongside the modern UserMenu

Bug: T276561
Change-Id: I068c5233bb25a7b141e66a6726b5761841f83eb2
2021-05-14 10:13:09 -07:00
..
common Cleanup styles for personal user dropdown menu. 2021-05-13 23:19:54 +00:00
mediawiki.less Implement mediawiki.skin.variables.less for Vector 2020-09-16 08:39:13 -07:00
skins.vector.js Silence eslint compat/compat for search performance instrumentation 2021-05-05 14:37:35 -06:00
skins.vector.legacy.js TypeError: data.collapseCondition is not a function 2021-02-11 21:19:28 +00:00
skins.vector.search search: Wire up submit event handler 2021-05-13 15:29:18 +01:00
skins.vector.styles Both UserMenu stylesheets should be shipped in modern 2021-05-14 10:13:09 -07:00
skins.vector.styles.legacy Both UserMenu stylesheets should be shipped in modern 2021-05-14 10:13:09 -07:00
CheckboxHack.d.ts Add enter/spacebar keyboard support to sidebar. 2020-07-09 22:38:15 +02:00
CollapsibleTabsPlugin.d.ts [JavaScript] Validate types 2020-03-16 09:10:08 -06:00
MediaWikiPageReady.d.ts Vector manages search functionality and provides config flag 2020-08-04 00:06:31 +00:00
VectorResourceLoaderVirtualConfig.d.ts Rename `wgVectorUseCoreSearch` to `wgVectorUseWvuiSearch` 2021-01-22 16:25:46 -07:00
mediawiki.d.ts Inform anonymous A/B test by tracking time from navigationStart 2021-03-23 10:40:20 -07:00
vue.d.ts Integrate WVUI search into Vector 2020-12-08 13:27:12 -08:00