mediawiki-skins-MinervaNeue/includes/menu/Entries
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
..
AuthMenuEntry.php [dev] split AuthMenuEntry 2019-07-23 18:07:00 -06:00
CompositeMenuEntry.php [dev] split AuthMenuEntry 2019-07-23 18:07:00 -06:00
HomeMenuEntry.php Track all menu interactions 2019-08-26 11:43:16 -07:00
IMenuEntry.php Hygiene: Drop optional parameters from SingleMenuEntry constructor 2019-11-07 19:04:21 +01:00
IProfileMenuEntry.php Track all menu interactions 2019-08-26 11:43:16 -07:00
LanguageSelectorEntry.php Track all menu interactions 2019-08-26 11:43:16 -07:00
LogInMenuEntry.php Hygiene: Drop optional parameters from SingleMenuEntry constructor 2019-11-07 19:04:21 +01:00
LogOutMenuEntry.php Hygiene: Drop optional parameters from SingleMenuEntry constructor 2019-11-07 19:04:21 +01:00
MenuEntry.php [dev] split AuthMenuEntry 2019-07-23 18:07:00 -06:00
ProfileMenuEntry.php Use avatarIcon instead of profile 2019-09-05 20:58:06 +00:00
SingleMenuEntry.php Hygiene: Drop optional parameters from SingleMenuEntry constructor 2019-11-07 19:04:21 +01:00