MinervaNeue/includes/skins
Piotr Miazga 6352190684 Hygiene: Extract isAllowedPageAction into MinervaPagePermissions
The isAllowedPageAction is used in multiple places (SkinMinerva
and in PageActions toolbar builder). This logic should be defined
in separate service, easy accessible for different parts of the
Minerva skin.

Changes:
 - Introduced MinervaPagePermissions as a centralized place to manage
 user permissions
 - Introduced MinervaNoTitlePermissions, an NullObject pattern to
 handle situations when we do not have Title object (like in CLI)
 - removed Minerva.ContentHandler service as it's not required any
 more
 - moved all permission names into constants
 - moved isTalkAllowed() into MinervaPermissions
 - renamed isAllowedPageAction() it `isAllowed()` to not mix it
 with PageActions. Those checks are used in many places, not only
 on PageActions menu
 - made isAllowed( watch ) more robust - now it checks that Title
 is watchable

Bug: T221792
Change-Id: I87d44a9c717b5f752b8d1fd2f146d7f5eef3c53f
2019-06-21 15:30:11 +00:00
..
MinervaTemplate.php Hygiene: rename "secondary button" to "user notifications" 2019-06-19 11:31:16 -06:00
SkinMinerva.php Hygiene: Extract isAllowedPageAction into MinervaPagePermissions 2019-06-21 15:30:11 +00:00
SkinUserPageHelper.php Hygiene: SkinUserPageHelper should support Title = null 2019-06-04 17:17:58 +02: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
minerva.mustache Hygiene: rename "secondary button" to "user notifications" 2019-06-19 11:31:16 -06:00
pageActionMenu.mustache PageActions menu elements should be built by using IMenuElement 2019-06-05 13:08:33 +02:00
userNotifications.mustache Hygiene: rename "secondary button" to "user notifications" 2019-06-19 11:31:16 -06:00
user_page_links.mustache Prefix icons in Minerva 2018-01-19 15:30:03 -08:00