Matěj Suchánek has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/292781

Change subject: Fix log message params
......................................................................

Fix log message params

The GENDER was not working because it was provided via Message::rawParams().

Change-Id: Ia52958b5529b0c16b6f658bb6d4afd4bb525e972
---
M special/SpecialAbuseLog.php
1 file changed, 2 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/AbuseFilter 
refs/changes/81/292781/1

diff --git a/special/SpecialAbuseLog.php b/special/SpecialAbuseLog.php
index a97d0a0..c3f18ff 100644
--- a/special/SpecialAbuseLog.php
+++ b/special/SpecialAbuseLog.php
@@ -569,9 +569,8 @@
                                $pageLink,
                                $actions_taken,
                                $parsed_comments,
-                               $lang->pipeList( $actionLinks ),
-                               $row->afl_user_text
-                       )->parse();
+                               $lang->pipeList( $actionLinks )
+                       )->params( $row->afl_user_text )->parse();
                } else {
                        if ( $diffLink ) {
                                $msg = 'abusefilter-log-entry-withdiff';

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia52958b5529b0c16b6f658bb6d4afd4bb525e972
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/AbuseFilter
Gerrit-Branch: master
Gerrit-Owner: Matěj Suchánek <matejsuchane...@gmail.com>

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

Reply via email to