r51412 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r51411‎ | r51412 | r51413 >
Date:15:41, 3 June 2009
Author:werdna
Status:ok
Tags:
Comment:
(bug 18642) Supply filter ID as a parameter to the AbuseFilter warning messages
Modified paths:
  • /trunk/extensions/AbuseFilter/AbuseFilter.class.php (modified) (history)

Diff [purge]

Index: trunk/extensions/AbuseFilter/AbuseFilter.class.php
@@ -618,7 +618,7 @@
619619 $msg = 'abusefilter-warning';
620620 }
621621 $messages[] = wfMsgExt( $msg, 'parseinline',
622 - array( $parsed_public_comments) ) . "<br />\n";
 622+ array( $parsed_public_comments, $filter ) ) . "<br />\n";
623623
624624 $actionsTaken[$filter][] = 'warn';
625625

Status & tagging log