mediawiki-skins-MinervaNeue/includes
Stephen Niedzielski 54060a3cc4 [edit] [UI] hide edit section links for blocked users
When a user is blocked, only present the "locked" page edit link. Omit
the section edit links entirely.

The logic for checking user permissions already existed in
ToolbarBuilder. Move this logic to MinervaPagePermissions and add a new
"EDIT_OR_CREATE" action distinct from IMinervaPagePermissions::EDIT.
These names will be revisited in a following patch.

Bug: T206265
Change-Id: Ia43a670a259cabc313c004fe06c91e078bd41562
2019-09-03 22:29:43 +02:00
..
menu [edit] [UI] hide edit section links for blocked users 2019-09-03 22:29:43 +02:00
permissions [edit] [UI] hide edit section links for blocked users 2019-09-03 22:29:43 +02:00
skins [edit] [UI] hide edit section links for blocked users 2019-09-03 22:29:43 +02:00
LanguagesHelper.php Extract language/variants check to a service 2019-07-16 19:53:57 +00:00
MinervaHooks.php Feature flag overhaul 2019-08-23 10:48:14 -07: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 [edit] [UI] hide edit section links for blocked users 2019-09-03 22:29:43 +02:00
SkinOptions.php Feature flag overhaul 2019-08-23 10:48:14 -07:00