mediawiki-extensions-SpamBl.../includes/SpamBlacklistLogFormatter.php
Umherirrender 00f58b2d52 Use namespaced classes
Changes to the use statements done automatically via script
Addition of missing use statement done manually

Change-Id: I6fd8bf5240359bf7e2ab23f9581471714f0a01d3
2024-06-10 20:42:18 +02:00

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