mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/SpamBlacklist
synced 2024-12-18 01:30:42 +00:00
52bb0939d9
Change-Id: Ie53302078d5f405eaa6caef3b7ef4daebf47d877
20 lines
413 B
PHP
20 lines
413 B
PHP
<?php
|
|
|
|
namespace MediaWiki\Extension\SpamBlacklist;
|
|
|
|
use LogFormatter;
|
|
use Message;
|
|
|
|
class SpamBlacklistLogFormatter extends LogFormatter {
|
|
/**
|
|
* @return array
|
|
* @suppress SecurityCheck-DoubleEscaped Known taint-check bug
|
|
*/
|
|
protected function getMessageParameters() {
|
|
$params = parent::getMessageParameters();
|
|
$params[3] = Message::rawParam( htmlspecialchars( $params[3] ) );
|
|
return $params;
|
|
}
|
|
|
|
}
|