jenkins-bot has submitted this change and it was merged.

Change subject: Add GENDER to abusefilter-revert-preview-item
......................................................................


Add GENDER to abusefilter-revert-preview-item

Change-Id: I4fe0190238fc97409c18678a617a8f6a46d41bab
---
M Views/AbuseFilterViewRevert.php
M i18n/en.json
M i18n/qqq.json
3 files changed, 3 insertions(+), 3 deletions(-)

Approvals:
  Siebrand: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/Views/AbuseFilterViewRevert.php b/Views/AbuseFilterViewRevert.php
index 4e39998..15a2268 100644
--- a/Views/AbuseFilterViewRevert.php
+++ b/Views/AbuseFilterViewRevert.php
@@ -74,7 +74,7 @@
                                                        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 fb3421a..a9cc1a4 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 dab9ee9..6c00538 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}}",

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I4fe0190238fc97409c18678a617a8f6a46d41bab
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/AbuseFilter
Gerrit-Branch: master
Gerrit-Owner: Matěj Suchánek <matejsuchane...@gmail.com>
Gerrit-Reviewer: Jackmcbarn <jackmcb...@gmail.com>
Gerrit-Reviewer: Se4598 <se4...@gmx.de>
Gerrit-Reviewer: Siebrand <siebr...@kitano.nl>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to