jenkins-bot has submitted this change and it was merged. (
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(-)
Approvals:
jenkins-bot: Verified
Jforrester: Looks good to me, approved
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: merged
Gerrit-Change-Id: I1763ffd8ee037dbb5dd94c410cb6a82e0f6b27e9
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Catrope <[email protected]>
Gerrit-Reviewer: Catrope <[email protected]>
Gerrit-Reviewer: Florianschmidtwelzow <[email protected]>
Gerrit-Reviewer: Jforrester <[email protected]>
Gerrit-Reviewer: Raimond Spekking <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits