mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-24 06:03:49 +00:00
Support GENDER in two more log messages
Change-Id: I92085a291565bd76e3f983da3bb4dfdb253b8007
This commit is contained in:
parent
e49d13c966
commit
5357665db6
|
@ -47,8 +47,8 @@
|
|||
"abusefilter-log-search-title": "Title:",
|
||||
"abusefilter-log-search-wiki": "Wiki:",
|
||||
"abusefilter-log-search-submit": "Search",
|
||||
"abusefilter-log-entry": "$1: $2 triggered an abuse filter, performing the action \"$3\" on $4.\nActions taken: $5;\nFilter description: $6",
|
||||
"abusefilter-log-entry-withdiff": "$1: $2 triggered an abuse filter, performing the action \"$3\" on $4.\nActions taken: $5;\nFilter description: $6 ($7)",
|
||||
"abusefilter-log-entry": "$1: $2 triggered an abuse filter, {{GENDER:$8|performing}} the action \"$3\" on $4.\nActions taken: $5;\nFilter description: $6",
|
||||
"abusefilter-log-entry-withdiff": "$1: $2 triggered an abuse filter, {{GENDER:$8|performing}} the action \"$3\" on $4.\nActions taken: $5;\nFilter description: $6 ($7)",
|
||||
"abusefilter-log-detailedentry-meta": "$1: $2 triggered $3, {{GENDER:$9|performing}} the action \"$4\" on $5.\nActions taken: $6;\nFilter description: $7 ($8)",
|
||||
"abusefilter-log-detailedentry-global": "global filter $1",
|
||||
"abusefilter-log-detailedentry-local": "filter $1",
|
||||
|
|
|
@ -78,8 +78,8 @@
|
|||
"abusefilter-log-search-title": "Field label in abuse filter log page.\n{{Identical|Title}}",
|
||||
"abusefilter-log-search-wiki": "Label for text field that allows the user to limit search results to a specific wiki, by name.\n{{Identical|Wiki}}",
|
||||
"abusefilter-log-search-submit": "Button text to search log in abuse filter log page.\n{{Identical|Search}}",
|
||||
"abusefilter-log-entry": "This message is for a log entry. Parameters:\n* $1 - timestamp\n* $2 - user\n* $3 - action by user\n* $4 - link to page the action that triggered the filter was made on\n* $5 - actions taken by the filter\n* $6 - comments in filter description\n{{Related|Abusefilter-log}}",
|
||||
"abusefilter-log-entry-withdiff": "This message is for a log entry. Parameters:\n* $1 - timestamp\n* $2 - user\n* $3 - action by user\n* $4 - link to page the action that triggered the filter was made on\n* $5 - actions taken by the filter\n* $6 - comments in filter description\n* $7 - link to diff\n{{Related|Abusefilter-log}}",
|
||||
"abusefilter-log-entry": "This message is for a log entry. Parameters:\n* $1 - timestamp\n* $2 - user\n* $3 - action by user\n* $4 - link to page the action that triggered the filter was made on\n* $5 - actions taken by the filter\n* $6 - comments in filter description\n* $8 - raw username, for GENDER support\n{{Related|Abusefilter-log}}",
|
||||
"abusefilter-log-entry-withdiff": "This message is for a log entry. Parameters:\n* $1 - timestamp\n* $2 - user\n* $3 - action by user\n* $4 - link to page the action that triggered the filter was made on\n* $5 - actions taken by the filter\n* $6 - comments in filter description\n* $7 - link to diff\n* $8 - raw username, for GENDER support\n{{Related|Abusefilter-log}}",
|
||||
"abusefilter-log-detailedentry-meta": "This message is for a log entry. Parameters:\n* $1 - timestamp\n* $2 - user\n* $3 - link to filter\n* $4 - action by user\n* $5 - link to page the action that triggered the filter was made on\n* $6 - actions taken by the filter\n* $7 - comments in filter description\n* $8 - link to action details, examine, and optional diff\n* $9 - (Optional) raw username, for GENDER support\n{{Related|Abusefilter-log}}",
|
||||
"abusefilter-log-detailedentry-global": "Addition in the abuse filter log detail when a filter rule is a global rule. Parameters:\n* $1 is a global filter ID.",
|
||||
"abusefilter-log-detailedentry-local": "Addition in the abuse filter log detail when a filter rule is a local rule. Parameters:\n* $1 is a local filter ID.\n{{Identical|Filter}}",
|
||||
|
|
|
@ -586,7 +586,7 @@ class SpecialAbuseLog extends SpecialPage {
|
|||
$actions_taken,
|
||||
$parsed_comments,
|
||||
$diffLink // Passing $7 to 'abusefilter-log-entry' will do nothing, as it's not used.
|
||||
)->parse();
|
||||
)->params( $row->afl_user_text )->parse();
|
||||
}
|
||||
|
||||
if ( self::isHidden( $row ) === true ) {
|
||||
|
|
Loading…
Reference in a new issue