From 9e66a63af83427a01d66795ac64b793ff4473218 Mon Sep 17 00:00:00 2001 From: Marius Hoch Date: Fri, 28 Feb 2014 03:12:10 +0100 Subject: [PATCH] Use inContentLanguage for dropdown messages in HTMLFormField to restore b/c for now. Bug: 61942 Change-Id: I2741ef940d83eeb564e89e20378fb4004cfe5b83 --- includes/htmlform/HTMLFormField.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/htmlform/HTMLFormField.php b/includes/htmlform/HTMLFormField.php index 27d959401c..3c4ecd0168 100644 --- a/includes/htmlform/HTMLFormField.php +++ b/includes/htmlform/HTMLFormField.php @@ -558,7 +558,7 @@ abstract class HTMLFormField { $this->mOptions = self::forceToStringRecursive( $this->mParams['options'] ); } elseif ( array_key_exists( 'options-message', $this->mParams ) ) { /** @todo This is copied from Xml::listDropDown(), deprecate/avoid duplication? */ - $message = $this->msg( $this->mParams['options-message'] )->plain(); + $message = $this->msg( $this->mParams['options-message'] )->inContentLanguage()->plain(); $optgroup = false; $this->mOptions = array(); -- 2.20.1