mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-13 17:27:20 +00:00
Hide "User:" prefix from autopromote log entries
Bug: T247173 Change-Id: I40aa888bc45d8274d03eb7ead7bedaf1d087fb1c
This commit is contained in:
parent
f3f40572eb
commit
cba29fe85b
|
@ -28,4 +28,15 @@ class AbuseFilterRightsLogFormatter extends LogFormatter {
|
|||
}
|
||||
return $ret;
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
protected function getMessageParameters() {
|
||||
$params = parent::getMessageParameters();
|
||||
// remove "User:" prefix
|
||||
$params[2] = $this->formatParameterValue( 'user-link', $this->entry->getTarget()->getText() );
|
||||
return $params;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue