mediawiki-extensions-SpamBl.../includes/SpamBlacklistLogFormatter.php
Reedy 52bb0939d9 Namespace extension
Change-Id: Ie53302078d5f405eaa6caef3b7ef4daebf47d877
2022-04-08 13:41:20 +00:00

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;
}
}