mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/SpamBlacklist
synced 2024-12-19 02:00:55 +00:00
00f58b2d52
Changes to the use statements done automatically via script Addition of missing use statement done manually Change-Id: I6fd8bf5240359bf7e2ab23f9581471714f0a01d3
20 lines
431 B
PHP
20 lines
431 B
PHP
<?php
|
|
|
|
namespace MediaWiki\Extension\SpamBlacklist;
|
|
|
|
use LogFormatter;
|
|
use MediaWiki\Message\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;
|
|
}
|
|
|
|
}
|