SpecialEditWatchlist: Avoid empty namespace sections
authorumherirrender <umherirrender_de.wp@web.de>
Tue, 1 Jul 2014 18:22:38 +0000 (20:22 +0200)
committerUmherirrender <umherirrender_de.wp@web.de>
Fri, 25 Jul 2014 18:12:58 +0000 (18:12 +0000)
commit8185ade8f7398c6d0d1dd7401c4e91c35bff5de1
treea042aed5234445331e780080cb3b29bd4fa88775
parent822d8929d4f31255d5192cff29544d492d32a4ac
SpecialEditWatchlist: Avoid empty namespace sections

When the database contains a title for a positive namespace which is no
longer active, a table of contents item and a empty section is shown on
Special:EditWatchlist. After reload the section is gone, because the
database was cleaned up and the invalid namespace can no longer produce
the section. Refactor a bit to avoid the empty section on the first
view as well to get a stable output of that special page.

Change-Id: I41426bde71b21a4abddb12af0b3a84931f51ac97
includes/specials/SpecialEditWatchlist.php