mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-27 15:30:42 +00:00
Merge "Add a placeholder for the no-js changetags input field"
This commit is contained in:
commit
5561abe296
|
@ -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",
|
||||
|
|
|
@ -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}}",
|
||||
|
|
|
@ -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
|
||||
),
|
||||
[
|
||||
|
|
Loading…
Reference in a new issue