SpecialContributions: Conditionally hide the namespace checkboxes
authorFomafix <fomafix@googlemail.com>
Sun, 17 Feb 2019 19:02:22 +0000 (20:02 +0100)
committerFomafix <fomafix@googlemail.com>
Tue, 5 Mar 2019 05:14:59 +0000 (06:14 +0100)
commit89d9e98c5e53a8da0ca80163ab2e3aba6281b40f
tree1f235a5c219e3db4383a940feabce46a4285632a
parentb46db441a3e2cccbf90072102bafe19bed6c72fe
SpecialContributions: 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: T134556
Change-Id: I84198472307532ab89c499cb75f946aeb471405f
includes/specials/SpecialContributions.php