From 9f097e59db4ab82f752c2439f7f361504239cb01 Mon Sep 17 00:00:00 2001 From: matejsuchanek Date: Sat, 4 Jun 2016 15:07:40 +0200 Subject: [PATCH] Add GENDER to abusefilter-revert-preview-item Change-Id: I4fe0190238fc97409c18678a617a8f6a46d41bab --- Views/AbuseFilterViewRevert.php | 2 +- i18n/en.json | 2 +- i18n/qqq.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Views/AbuseFilterViewRevert.php b/Views/AbuseFilterViewRevert.php index 4e39998fd..15a2268b5 100644 --- a/Views/AbuseFilterViewRevert.php +++ b/Views/AbuseFilterViewRevert.php @@ -74,7 +74,7 @@ class AbuseFilterViewRevert extends AbuseFilterView { array(), array( 'details' => $result['id'] ) ) - )->parse(); + )->params( $result['user'] )->parse(); $list[] = Xml::tags( 'li', null, $msg ); } diff --git a/i18n/en.json b/i18n/en.json index fb3421a97..a9cc1a4e6 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -338,7 +338,7 @@ "abusefilter-action-disallow": "Disallow", "abusefilter-revert-title": "Revert all changes by filter $1", "abusefilter-revert-intro": "This form allows you to revert all changes made by the abuse filter due to filter $1.\nPlease exercise care in using this tool.", - "abusefilter-revert-preview-item": "$1: $2 made a $3 on $4.\nActions to be reverted: $5 ($6)", + "abusefilter-revert-preview-item": "$1: $2 {{GENDER:$7|made}} a $3 on $4.\nActions to be reverted: $5 ($6)", "abusefilter-revert-search-legend": "Select abuse filter actions to be reverted", "abusefilter-revert-periodstart": "Period start:", "abusefilter-revert-periodend": "Period end:", diff --git a/i18n/qqq.json b/i18n/qqq.json index dab9ee9c1..6c005388c 100644 --- a/i18n/qqq.json +++ b/i18n/qqq.json @@ -345,7 +345,7 @@ "abusefilter-action-disallow": "{{doc-abusefilter-action}}\n\nTo '''disallow''' actions means that actions matching the filter will be '''prevented''', and a descriptive error message will be shown. Additional information: https://www.mediawiki.org/wiki/Extension:AbuseFilter/Actions", "abusefilter-revert-title": "Used as page title of [[Special:AbuseFilter/revert/1]] (go to [[Special:AbuseFilter]], open a filter, click \"Revert actions taken by this filter\").\n\nParameters:\n* $1 - filter ID", "abusefilter-revert-intro": "Parameters:\n* $1 - filter", - "abusefilter-revert-preview-item": "Parameters:\n* $1 is a localised time and date\n* $2 is the linked user that made a change\n* $3 is the action\n* $4 is the page title of the page that was changed\n* $5 is a (localised) comma separated list of actions\n* $6 is link to the log details with {{msg-mw|abusefilter-log-detailslink}} as link description.", + "abusefilter-revert-preview-item": "Parameters:\n* $1 is a localised time and date\n* $2 is the linked user that made a change\n* $3 is the action\n* $4 is the page title of the page that was changed\n* $5 is a (localised) comma separated list of actions\n* $6 is link to the log details with {{msg-mw|abusefilter-log-detailslink}} as link description.\n* $7 is a raw username, which can be used for GENDER.", "abusefilter-revert-filter": "{{Identical|Filter}}", "abusefilter-revert-preview-intro": "Refers to {{msg-mw|Abusefilter-revert-confirm}}.", "abusefilter-revert-confirm": "This is also used in {{msg-mw|Abusefilter-revert-preview-intro}}. When changing this message, please also remember to change that one.\n{{Identical|Confirm}}",