mediawiki-skins-MinervaNeue/includes/skins
Piotr Miazga 258e635ae5 Extract SkinOptions to separate class
SkinOptions array was used to determine which options are available
for current session. Once we started extracting things from
SkinMinerva class, we found out that lots of things depend on
SkinOptions.

For example MainMenu/PageActionsMenu depend on skinsOptions var.
We could pass $skin object as dependency to a menu builder, but
this would cause a circural dependency (Skin depends on menu builder,
menu builder depends on skin) which is an anti-pattern.
In order to avoid such situations lets prepare first, and extract
the SkinOptions to a separate class, register it as a service
so different parts of Skin Minerva can freely use a single instance
of SkinOptions object.

Bug: T216152
Bug: T221012
Change-Id: Icd5da546e1bfaf8d9bfe86dab3b659a88eae19e4
2019-04-15 20:34:12 +00:00
..
banners.mustache Minerva is its own skin 2017-07-12 08:12:40 -07:00
footer.mustache Hygiene: remove outdated comment in footer.mustache 2019-04-04 17:43:35 +00:00
history.mustache Hygiene: Refactor Minerva history link generation 2017-11-27 14:27:11 -08:00
MenuBuilder.php Split MenuEntry to its own file 2018-04-19 23:16:55 +00:00
MenuEntry.php Split MenuEntry to its own file 2018-04-19 23:16:55 +00:00
minerva.mustache Merge "Banner now nested inside main article at top" 2019-02-20 20:01:25 +00:00
MinervaTemplate.php Extract SkinOptions to separate class 2019-04-15 20:34:12 +00:00
pageActionMenu.mustache Hygiene: reduce getPageActions() visibility 2019-04-04 16:51:42 +00:00
secondaryButton.mustache Notification icon should not show NaN for persian Wikipedia 2017-10-26 20:27:12 +00:00
SkinMinerva.php Extract SkinOptions to separate class 2019-04-15 20:34:12 +00:00
SkinUserPageHelper.php Simplify SkinUserPageHelper constructor 2018-04-15 16:38:50 -07:00
user_page_links.mustache Prefix icons in Minerva 2018-01-19 15:30:03 -08:00