Simplify checking for widgets on special block page
authorThalia <thalia.e.chan@googlemail.com>
Tue, 2 Apr 2019 10:43:37 +0000 (11:43 +0100)
committerThalia <thalia.e.chan@googlemail.com>
Fri, 5 Apr 2019 14:37:54 +0000 (15:37 +0100)
commitdc941617b2128b13f87c06469bfd77277d0d7484
tree31eddd59220d62056351c511fcac228a5cb0bb6b
parent6a19bbfdece16150b36ee8ce3c105de4f22111ce
Simplify checking for widgets on special block page

Certain groups of widgets always exist if the form is loaded, or always exist
if partial blocks is enabled. Others depend on certain user rights or config
variables. Check these widgets in groups rather than checking for the
existence of each one individually.

Change-Id: I6950ebc22f4564aadaf6d6acd5ca36534d8b9962
includes/specials/SpecialBlock.php
resources/Resources.php
resources/src/mediawiki.special.block.js