mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-28 16:10:55 +00:00
fa30f03495
Instead of using $group->insert(....)->addComponent() we can define our own small SingleMenuEntry that defines a standard menu entry with a label and one icon. The icon name and tracking code by default will be the same as the menu entry name. Changes: - introduced SingleMenuEntry class - updated Definitions class to use new entry instead of using old MenuEntry class - changed the Contributions meny entry name to match icon/tracking This should simplify code a bit, thanks to this approach we should be able to remove the Definitions class in some future and keep building MenuElements in the builders. Bug: T221792 Change-Id: I1f145e8cd173b72b01a145b2dba3704593f17ab7 |
||
---|---|---|
.. | ||
banners.mustache | ||
footer.mustache | ||
history.mustache | ||
minerva.mustache | ||
MinervaTemplate.php | ||
pageActionMenu.mustache | ||
secondaryButton.mustache | ||
SkinMinerva.php | ||
SkinUserPageHelper.php | ||
user_page_links.mustache |