SpecialBlock: Tweaks for OOUI HTMLForm
authorBartosz Dziewoński <matma.rex@gmail.com>
Tue, 3 Oct 2017 13:44:30 +0000 (15:44 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Tue, 3 Oct 2017 14:21:43 +0000 (16:21 +0200)
commitb2a0e3aac8f70802a5f45cc7e7fbb0f9c517fb82
treef821f0d72dd54d95ca552e70b75d6875b4ba4a21
parent6e067e541154d3c4c1decbe12f602177d4f38aeb
SpecialBlock: Tweaks for OOUI HTMLForm

* Expand both the dropdown and textfield of "Reason" field to the
  usual maximum width and display them on separate lines.
* Fix autohiding of form fields where applicable (checkboxes that only
  apply when blocking a user or an IP address).
* Fix bolding of the "Confirm block" label when blocking yourself.

Follow-up to d56758e134358fdac3f8dda16417bfd30f78bab9.

Bug: T107036
Change-Id: Ia5c54e518de99a79f5319c42ccf1a9a0e31ad471
includes/specials/SpecialBlock.php
resources/Resources.php
resources/src/mediawiki.special/mediawiki.special.block.js
resources/src/mediawiki.special/mediawiki.special.css