Add a way to exclude categories from Special:UnusedCategories
authorAgabi10 <gabilondo.ander@gmail.com>
Fri, 7 Sep 2018 21:32:26 +0000 (21:32 +0000)
committerAgabi10 <gabilondo.ander@gmail.com>
Fri, 16 Nov 2018 13:32:27 +0000 (13:32 +0000)
commit4985ce513469fa82a132139a41c2854504475e4a
treee924891948fee5475cac8940b0548fa269dbe160
parent68ce51d68f34d590a9dac6142bbb8a507da9657e
Add a way to exclude categories from Special:UnusedCategories

Added __EXPECT_UNUSED_CATEGORY__ as a behavioral switch. Adding
this switch to category pages prevents them from appearing in
Special:UnusedCategories.

Bug: T96041
Change-Id: I055e59f5311347155e0f801dd5ec9a6d4a68c9cc
RELEASE-NOTES-1.33
includes/MagicWordFactory.php
includes/page/WikiCategoryPage.php
includes/specials/SpecialUnusedcategories.php
languages/messages/MessagesEn.php
tests/phpunit/includes/page/WikiCategoryPageTest.php