2017-01-22 10:49:28 +00:00
|
|
|
<?php
|
|
|
|
|
2022-04-08 13:05:02 +00:00
|
|
|
namespace MediaWiki\Extension\SpamBlacklist;
|
|
|
|
|
|
|
|
use LogFormatter;
|
2024-06-10 18:42:06 +00:00
|
|
|
use MediaWiki\Message\Message;
|
2022-04-08 13:05:02 +00:00
|
|
|
|
2017-01-22 10:49:28 +00:00
|
|
|
class SpamBlacklistLogFormatter extends LogFormatter {
|
2019-07-10 23:31:07 +00:00
|
|
|
/**
|
|
|
|
* @return array
|
|
|
|
* @suppress SecurityCheck-DoubleEscaped Known taint-check bug
|
|
|
|
*/
|
2017-01-22 10:49:28 +00:00
|
|
|
protected function getMessageParameters() {
|
|
|
|
$params = parent::getMessageParameters();
|
|
|
|
$params[3] = Message::rawParam( htmlspecialchars( $params[3] ) );
|
|
|
|
return $params;
|
|
|
|
}
|
|
|
|
|
2017-06-06 16:29:27 +00:00
|
|
|
}
|