mediawiki-skins-Vector/includes
jdlrobson 63ee9450b7 Refactor: Standardize menu data (DRY!)
VectorTemplate has various functions that repeat themselves, only
differing in their choice of names.

This refactor begins by focusing on the personal menu and introducing
a generic getMenuData function. Hardcoded `p-personal` is replaced with
an `id` template key and `msg-label` is renamed `label`.

Future patches will simplify VectorTemplate by using this new
function.

You'll note the resulting PersonalMenu.mustache file is identical
to VectorTabs. These will be merged in I098e6921e8f7ef65dacacf09b9c25f70c945e58e

Bug: T249372
Change-Id: I5ae44a1008b065381eeff93f9fa625be5c5a9de9
2020-04-13 16:11:40 -07:00
..
FeatureManagement [docs] [dev] [PHP] [FeatureManager] revise docs and add DynamicConfigRequirement test 2020-03-26 20:39:40 +00:00
templates Refactor: Standardize menu data (DRY!) 2020-04-13 16:11:40 -07:00
Constants.php [dev] add skin version query parameter override 2020-04-02 16:22:26 -06:00
Hooks.php Make sure Vector skin preferences always follows skin 2020-02-29 00:35:50 +00:00
ServiceWiring.php [docs] [dev] [PHP] [FeatureManager] revise docs and add DynamicConfigRequirement test 2020-03-26 20:39:40 +00:00
SkinVector.php [dev] add skin version query parameter override 2020-04-02 16:22:26 -06:00
SkinVersionLookup.php [dev] add skin version query parameter override 2020-04-02 16:22:26 -06:00
VectorTemplate.php Refactor: Standardize menu data (DRY!) 2020-04-13 16:11:40 -07:00