mediawiki-skins-MinervaNeue/tests/phpunit
Piotr Miazga 4ec9b06a77 Watchstar should respect viewmywatchlist|editmywatchlist permissions
If viewmywatchlist|editmywatchlist permisions were set to false for
anonymous user, MinervaSkin would show a watchstar icon that links
to LoginPage, even if user was logged in. Clicking watching action
would cause browser to reload the page without any effect.
Under the hood - system would redirect to login, and then the login
page would redirect user back to the article page because user is
logged in.

MinervaSkin should respect viewmywatchlist|editmywatchlist
permissions. If user do not have access to watchlist, do not show
watch icon.

Bug: T221792
Change-Id: I26a1133a7ccff6a4adcdc72d594d0902bfa8ff79
2019-05-31 17:34:35 +00:00
..
menu Provide IMenuEntry interface 2019-05-14 13:12:37 +02:00
skins Watchstar should respect viewmywatchlist|editmywatchlist permissions 2019-05-31 17:34:35 +00:00
SkinOptionsTest.php Extract SkinOptions to separate class 2019-04-15 20:34:12 +00:00