MinervaNeue/includes/skins
Jan Drewniak 864a1766a7 Refactor pageActions menu to accommodate AMC mode
This patch refactors the markup and JS associated with the page actions
menu in order to achieve greater flexibility in its presentation.
The menu items are now positioned via flexbox and rendered using a mustache
template in PHP.

The goal of this refactor is to accommodate both AMC mode and default
mode with the same markup. No changes should be visible for non-AMC
users with this refactor. No changes to AMC mode have been made in this
patch either.

This patch includes temporary workarounds to avoid problems caused by HTML caching.

Changes include:
- Changing the data structure of the page_actions property in SkinMinerva.php
- Passing that modified data structure into a new mustache template, PageActionMenu.mustache
- Adding new CSS for the new page actions menu HTML
- changing the query selectors in JS to match the new markup
- Making the JS-modified page-actions compatible with the new markup
- Keeping existing CSS and JS to avoid breaking cached HTML

Bug: T213352
Depends-On: I95cf726c4b6d8c3895a26aa6e07f4b1747ee30fe
Change-Id: I5a7d73b20617cb3c6d6379084ac4bea23ec3bc74
2019-02-28 12:31:57 +01:00
..
MenuBuilder.php Split MenuEntry to its own file 2018-04-19 23:16:55 +00:00
MenuEntry.php Split MenuEntry to its own file 2018-04-19 23:16:55 +00:00
MinervaTemplate.php Refactor pageActions menu to accommodate AMC mode 2019-02-28 12:31:57 +01:00
SkinMinerva.php Refactor pageActions menu to accommodate AMC mode 2019-02-28 12:31:57 +01:00
SkinUserPageHelper.php Simplify SkinUserPageHelper constructor 2018-04-15 16:38:50 -07:00
banners.mustache Minerva is its own skin 2017-07-12 08:12:40 -07:00
footer.mustache Remove horizontal line from popups preview in MinervaNeue skin 2018-01-30 20:06:42 +01:00
history.mustache Hygiene: Refactor Minerva history link generation 2017-11-27 14:27:11 -08:00
minerva.mustache Merge "Banner now nested inside main article at top" 2019-02-20 20:01:25 +00:00
pageActionMenu.mustache Refactor pageActions menu to accommodate AMC mode 2019-02-28 12:31:57 +01:00
secondaryButton.mustache Notification icon should not show NaN for persian Wikipedia 2017-10-26 20:27:12 +00:00
user_page_links.mustache Prefix icons in Minerva 2018-01-19 15:30:03 -08:00