Hide hiddencat catwatch changes in special changelists
authorWMDE-Fisch <christoph.fischer@wikimedia.de>
Wed, 13 Apr 2016 15:52:48 +0000 (17:52 +0200)
committerWMDE-Fisch <christoph.fischer@wikimedia.de>
Mon, 18 Apr 2016 14:41:26 +0000 (16:41 +0200)
commitb7221eaa0893e9e1ed31355e3ea98773fbc628ba
tree89a2f32740019fc434514bd591413ea09b775379
parent8cb8af442a84ad73bd0d07e661056ef7c7a5ab3f
Hide hiddencat catwatch changes in special changelists

If a hidden category has a member added or removed
this will only be shown to users that have the user
preference "display hidden categories".

Also added method to WikiCategoryPage to check
for hidden status.

Added unit tests for both.

Bug: T127944
Change-Id: Ic53d51391fa29d5e18fef4c42b8a275816c7ba4a
includes/PageProps.php
includes/changes/RecentChange.php
includes/page/WikiCategoryPage.php
includes/page/WikiPage.php
includes/specials/SpecialRecentchanges.php
includes/specials/SpecialWatchlist.php
tests/phpunit/includes/changes/RecentChangeTest.php
tests/phpunit/includes/page/WikiCategoryPageTest.php [new file with mode: 0644]