Enable/disable Special:Block widgets according to block parameters
authorThalia <thalia.e.chan@googlemail.com>
Tue, 2 Apr 2019 14:52:23 +0000 (15:52 +0100)
committerThalia <thalia.e.chan@googlemail.com>
Fri, 5 Apr 2019 14:41:16 +0000 (15:41 +0100)
commitbdd9b07d4340db395d4bffd66bfc03610b165ba1
tree5e36c4ce399ad9b78f3319a8118e4813aae5b0cc
parentdc941617b2128b13f87c06469bfd77277d0d7484
Enable/disable Special:Block widgets according to block parameters

Different block options are available depending on the block parameters
currently enetered in the form at a given time. Use enable/disable for
these options instead of hide/show, and uncheck any disabled options.

Bug: T212391
Change-Id: Ie715ae570641ad0af4008b9aa7f9ed8f2cda8fb8
resources/src/mediawiki.special.block.js