diff --git a/SpamBlacklistHooks.php b/SpamBlacklistHooks.php index 6ff65c23..52b97efd 100644 --- a/SpamBlacklistHooks.php +++ b/SpamBlacklistHooks.php @@ -243,7 +243,13 @@ class SpamBlacklistHooks { $error = new ApiMessage( wfMessage( 'spamprotectiontext' ), 'spamblacklist', - array( 'spamblacklist' => array( 'matches' => $matches ) ) + array( + 'spamblacklist' => array( 'matches' => $matches ), + 'message' => array( + 'key' => 'spamprotectionmatch', + 'params' => $matches[0], + ), + ) ); }