mediawiki-skins-MinervaNeue/includes/menu
Piotr Miazga 4c224d2657 Hygiene: Drop optional parameters from SingleMenuEntry constructor
The SingleMenuEntry constructor has too many optional parameters
which makes it confusing and dificult to use.
Instead system should provide a named constructor `create` that
creates new menu entry instance with Icon and click tracking enabled.
If developer wants to override event tracking/change icon it is
possible via calling `trackClicks` and `setIcon` method calls.

This is a first refactoring step to simplify the SingleMenuEntry,
the next follow-up will remove unnecessary PageActionsDirector.

Bug: T232734
Change-Id: I7a631a635a5c5932845639123c285d1d18df1b5d
2019-11-07 19:04:21 +01:00
..
Entries Hygiene: Drop optional parameters from SingleMenuEntry constructor 2019-11-07 19:04:21 +01:00
Main Menu groups have identifiers 2019-10-25 19:00:54 +00:00
PageActions Show labels in page-actions menu on desktop widths 2019-10-28 12:53:38 -07:00
User Hygiene: Drop optional parameters from SingleMenuEntry constructor 2019-11-07 19:04:21 +01:00
Definitions.php Hygiene: Drop optional parameters from SingleMenuEntry constructor 2019-11-07 19:04:21 +01:00
Group.php Menu groups have identifiers 2019-10-25 19:00:54 +00:00