mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-12-18 08:30:52 +00:00
16 lines
336 B
PHP
16 lines
336 B
PHP
|
<?php
|
||
|
|
||
|
class AbuseFilterRightsLogFormatter extends LogFormatter {
|
||
|
|
||
|
/**
|
||
|
* @return string
|
||
|
*/
|
||
|
protected function getMessageKey() {
|
||
|
$subtype = $this->entry->getSubtype();
|
||
|
// Messages that can be used here:
|
||
|
// * logentry-rights-blockautopromote
|
||
|
// * logentry-rights-restoreautopromote
|
||
|
return "logentry-rights-$subtype";
|
||
|
}
|
||
|
}
|