mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/SpamBlacklist
synced 2024-12-21 02:52:51 +00:00
3d5392403b
When there is a "$1" in the url, it is treated like a message parameter and replaced. See https://www.wikidata.org/w/index.php?title=Special:Log&type=spamblacklist&page=Property:P2536. Change-Id: Ia223a89e12c652a87d52a18c78e612b4b12871bc
11 lines
243 B
PHP
11 lines
243 B
PHP
<?php
|
|
|
|
class SpamBlacklistLogFormatter extends LogFormatter {
|
|
|
|
protected function getMessageParameters() {
|
|
$params = parent::getMessageParameters();
|
|
$params[3] = Message::rawParam( htmlspecialchars( $params[3] ) );
|
|
return $params;
|
|
}
|
|
|
|
} |