Fixes to Special:TrackingCategories
authorumherirrender <umherirrender_de.wp@web.de>
Thu, 17 Apr 2014 10:34:20 +0000 (12:34 +0200)
committerReedy <reedy@wikimedia.org>
Thu, 19 Jun 2014 09:28:32 +0000 (09:28 +0000)
commit4ddd259d0d3b0399eb1e553d95125e53f30f1032
tree91e1bbc2f7821c75e50f12117e40229dd78baf92
parentadab73ef0275faefbfe158f246059676966f2c05
Fixes to Special:TrackingCategories

- Message::isDisabled is using the unparsed message text, so this is
always true and not false when a #switch will return '-'.
Using a compare against '-', the same as in
Parser::addTrackingCategory.
- Title::makeTitleSafe can return null, check that
- Add 'trackingcategories-disabled' when array is empty,
this can happen when a '{{' is given, but no categories was found

Change-Id: I88322512db5c4baedc5c571ce9ccbcd0caebb61d
includes/specials/SpecialTrackingCategories.php