summaryrefslogtreecommitdiff
path: root/www/wiki/extensions/SpamBlacklist/SpamBlacklistLogFormatter.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/wiki/extensions/SpamBlacklist/SpamBlacklistLogFormatter.php')
-rw-r--r--www/wiki/extensions/SpamBlacklist/SpamBlacklistLogFormatter.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/wiki/extensions/SpamBlacklist/SpamBlacklistLogFormatter.php b/www/wiki/extensions/SpamBlacklist/SpamBlacklistLogFormatter.php
new file mode 100644
index 00000000..e0c20079
--- /dev/null
+++ b/www/wiki/extensions/SpamBlacklist/SpamBlacklistLogFormatter.php
@@ -0,0 +1,11 @@
+<?php
+
+class SpamBlacklistLogFormatter extends LogFormatter {
+
+ protected function getMessageParameters() {
+ $params = parent::getMessageParameters();
+ $params[3] = Message::rawParam( htmlspecialchars( $params[3] ) );
+ return $params;
+ }
+
+}