mediawiki-skins-MinervaNeue/includes/menu/User
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
..
AdvancedUserMenuBuilder.php Hygiene: Drop optional parameters from SingleMenuEntry constructor 2019-11-07 19:04:21 +01:00
DefaultUserMenuBuilder.php Menu groups have identifiers 2019-10-25 19:00:54 +00:00
IUserMenuBuilder.php Follow-up: User menu improvements 2019-07-25 08:41:22 -06:00
UserMenuDirector.php Menu groups have identifiers 2019-10-25 19:00:54 +00:00