SpecialWatchlist: Conditionally hide the namespace checkboxes
authorFomafix <fomafix@googlemail.com>
Sun, 17 Feb 2019 18:07:12 +0000 (19:07 +0100)
committerFomafix <fomafix@googlemail.com>
Tue, 5 Mar 2019 05:13:52 +0000 (06:13 +0100)
commitb46db441a3e2cccbf90072102bafe19bed6c72fe
tree7011ce3cd5ec81dca62475e4ac8319079aa5850f
parentebba25929c3672b9b6b05537856dda71645706aa
SpecialWatchlist: Conditionally hide the namespace checkboxes

This changes hides the namespace checkboxes like on
SpecialRecentchanges.

Load the module 'mediawiki.special.recentchanges' which shows/hides the
checkboxes on change of the namespace selector.

Set the initial state of the visibility of the checkboxes already in the
HTML to prevent a flash of the checkboxes while loading.

Bug: T38317
Change-Id: I7ceb55088165c3c9bb17f6cfd4bfc6e800da9cc7
includes/specials/SpecialWatchlist.php