Merge "Add a placeholder for the no-js changetags input field"

This commit is contained in:
jenkins-bot 2018-08-22 12:44:19 +00:00 committed by Gerrit Code Review
commit 5561abe296
3 changed files with 4 additions and 1 deletions

View file

@ -214,6 +214,7 @@
"abusefilter-edit-warn-edit": "Create/Edit selected message",
"abusefilter-edit-tag-tag": "[[Special:Tags|Tags]] to apply:",
"abusefilter-edit-tag-placeholder": "Add tags (one by one or comma separated)",
"abusefilter-edit-tag-hidden-placeholder": "Add tags (comma separated)",
"abusefilter-edit-block-anon-durations": "Block duration for anonymous users:",
"abusefilter-edit-block-user-durations": "Block duration for registered users:",
"abusefilter-block-anon": "Block anonymous users",

View file

@ -247,6 +247,7 @@
"abusefilter-edit-warn-edit": "Button text for actions relating to a warning message for an abuse filter.\n\nSee also:\n* {{msg-mw|Abusefilter-edit-warn-actions}}\n* {{msg-mw|Abusefilter-edit-warn-preview}}",
"abusefilter-edit-tag-tag": "Field label for a field in which tags can be added for a revision in case the abuse filter applies.",
"abusefilter-edit-tag-placeholder": "Placeholder for a field where the user may insert tags.",
"abusefilter-edit-tag-hidden-placeholder": "Placeholder for a field where the user may insert tags.",
"abusefilter-edit-block-anon-durations": "Field label for select element allowing to select block duration for anonymous users",
"abusefilter-edit-block-user-durations": "Field label for select element allowing to select block duration for registered users",
"abusefilter-block-anon": "Specification for type of block. 'Block' is a verb.\n{{Identical|Block}}",

View file

@ -743,7 +743,8 @@ class AbuseFilterViewEdit extends AbuseFilterView {
new OOUI\MultilineTextInputWidget( [
'name' => 'wpFilterTags',
'value' => implode( ',', $tags ),
'rows' => 5
'rows' => 5,
'placeholder' => $this->msg( 'abusefilter-edit-tag-hidden-placeholder' )->text()
] + $readOnlyAttrib
),
[