Catrope has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/368208 )

Change subject: HTMLUsersMultiSelectField: Don't use content language for 
placeholder message
......................................................................

HTMLUsersMultiSelectField: Don't use content language for placeholder message

No idea why this was using content language to begin with, but it seems
like it should clearly use the user language instead.

Bug: T171817
Change-Id: I1763ffd8ee037dbb5dd94c410cb6a82e0f6b27e9
---
M includes/htmlform/fields/HTMLUsersMultiselectField.php
1 file changed, 1 insertion(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/08/368208/1

diff --git a/includes/htmlform/fields/HTMLUsersMultiselectField.php 
b/includes/htmlform/fields/HTMLUsersMultiselectField.php
index c2d26a3..f094745 100644
--- a/includes/htmlform/fields/HTMLUsersMultiselectField.php
+++ b/includes/htmlform/fields/HTMLUsersMultiselectField.php
@@ -63,9 +63,7 @@
                if ( isset( $this->mParams['placeholder'] ) ) {
                        $params['placeholder'] = $this->mParams['placeholder'];
                } else {
-                       $params['placeholder'] = $this->msg( 
'mw-widgets-usersmultiselect-placeholder' )
-                                                       ->inContentLanguage()
-                                                       ->plain();
+                       $params['placeholder'] = $this->msg( 
'mw-widgets-usersmultiselect-placeholder' )->plain();
                }
 
                if ( !is_null( $value ) ) {

-- 
To view, visit https://gerrit.wikimedia.org/r/368208
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1763ffd8ee037dbb5dd94c410cb6a82e0f6b27e9
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Catrope <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to