mediawiki-skins-Vector/resources/skins.vector.styles
bwang 9e4bdd00bf Remove custom handling of user links menu items and handle case when anon editor links are disabled
Rather than try to build individually build login, logout, and create account menu items, we handle them the same as all other user links menu items in Hooks.php. While Hooks isnt ideal, there currently isnt a good path for moving that code to SkinComponents until core provides menu data. In the meantime, this patch reduces code complexity and prevents bugs like T324638.
This approach also allows us to move user links logic from SkinVector22 to VectorComponentUserLinks.php, and ensures the user links dropdown contains multiple menus, which allows us to reuse styles from page tools dropdowns.

Expected 11 visual changes:
* minor visual change where the user links dropdown has an
additional 4px vertical padding.
This padding was originally added to the page tools dropdowns
per Alex's request, but Alex also said that dropdowns should share
the same spacing. This change makes the styles all consistent
* Order of talk and contribution links have been swapped

Bug: T289212
Bug: T319356
Bug: T328954
Change-Id: Iac0586893fec26a8a6c2c904ce08fbf1e19b339c
2023-02-09 13:37:17 -06:00
..
components Remove custom handling of user links menu items and handle case when anon editor links are disabled 2023-02-09 13:37:17 -06:00
images Reorganize LESS files to match ResourceLoader conventions 2021-04-08 15:47:56 +01:00
layouts Additional FIXME cleanup relating to moving feature classes from body 2023-02-08 10:49:13 -06:00
skin.less Fix language button fallback 2023-01-06 00:45:31 +00:00