mediawiki-skins-MinervaNeue/includes
Piotr Miazga 6905b85d67 Provide IMenuEntry interface
The Group shouldn't depend upon concrete MenuEntry definition.
Different Menus can present different MenuElements. Code should
allow easy extensions, not limit only to single MenuEntry
definition.

Changes:
 - introduced IMenuEntry interface
 - MenuEntry implements IMenuEntry
 - removed isJSOnly from logic as it's related only to one menu
 element (Watchstar) and Group shouldn't be aware of some special
 handling for some elements. The IMenuEntry shouldn't define this
 method
 - getName, getComponents, getCSSClasses should have defined return
 types

Bug: 1221792
Change-Id: I0646df734e869c26bfa8c3a772200e8258a8acce
2019-05-14 13:12:37 +02:00
..
menu Provide IMenuEntry interface 2019-05-14 13:12:37 +02:00
skins Merge "MinervaNeue doesn't need PersonalUrls" 2019-05-08 18:35:04 +00:00
MinervaHooks.php Update: add secondary page actions submenu in AMC mode 2019-04-19 14:51:17 +00:00
MinervaUI.php Add GPL file header to PHP classes 2018-04-15 16:23:10 -07:00
ResourceLoaderLessVarFileModule.php Add GPL file header to PHP classes 2018-04-15 16:23:10 -07:00
ServiceWiring.php Provide a code structure for menus handling and add Advanced menu 2019-04-16 13:19:51 +02:00
SkinOptions.php Update: add secondary page actions submenu in AMC mode 2019-04-19 14:51:17 +00:00