From: umherirrender Date: Wed, 9 Apr 2014 19:19:34 +0000 (+0200) Subject: Restore text for "Other" reason on Special:Block reason list X-Git-Tag: 1.31.0-rc.0~16277^2 X-Git-Url: http://git.cyclocoop.org/%22.%24image2.%22?a=commitdiff_plain;h=c41e97e84abf2729966c3cc94149fdda65f49f7e;p=lhc%2Fweb%2Fwiklou.git Restore text for "Other" reason on Special:Block reason list There was only a empty item for that at the end of the drop down: Follow-Up: If4175332405d26c7ff2e8fbe100bcad61762ce6f Change-Id: If808c51c62b5c25a58ec6188784da5a676f60993 --- diff --git a/includes/htmlform/HTMLSelectAndOtherField.php b/includes/htmlform/HTMLSelectAndOtherField.php index 4f501f7f97..bb42d532b8 100644 --- a/includes/htmlform/HTMLSelectAndOtherField.php +++ b/includes/htmlform/HTMLSelectAndOtherField.php @@ -16,7 +16,7 @@ class HTMLSelectAndOtherField extends HTMLSelectField { } elseif ( array_key_exists( 'other-message', $params ) ) { $params['other'] = wfMessage( $params['other-message'] )->plain(); } else { - $params['other'] = null; + $params['other'] = wfMessage( 'htmlform-selectorother-other' )->plain(); } parent::__construct( $params );