From c41e97e84abf2729966c3cc94149fdda65f49f7e Mon Sep 17 00:00:00 2001 From: umherirrender Date: Wed, 9 Apr 2014 21:19:34 +0200 Subject: [PATCH] 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 --- includes/htmlform/HTMLSelectAndOtherField.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- 2.20.1