Recentchanges: Hide instead of disable namespace selector checkboxes
authorFomafix <fomafix@googlemail.com>
Thu, 14 Feb 2019 17:43:55 +0000 (18:43 +0100)
committerRoan Kattouw <roan.kattouw@gmail.com>
Fri, 1 Mar 2019 23:47:20 +0000 (15:47 -0800)
commit06a9e62b52924ccc371c15385eb7f991ac421f3b
tree92c7c77dd2266f9267dbf6fcacb931d7ecc60ac2
parent04179d3a5ce90f3f967d0e004fdf68bd45b04541
Recentchanges: Hide instead of disable namespace selector checkboxes

* Set the initial state of the visibility of the checkboxes already in
  HTML. This avoids a flash of not-hidden checkboxes while loading.
* Also add class="mw-input-with-label" to prevent line breaks in the
  label.

Change-Id: I15781b95590faa9cf65c19fe6fc84fa94ec786dc
includes/specials/SpecialRecentchanges.php
resources/src/mediawiki.special.changeslist.less
resources/src/mediawiki.special.recentchanges.js
tests/qunit/suites/resources/mediawiki.special/mediawiki.special.recentchanges.test.js