mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-12 08:49:28 +00:00
17 lines
302 B
PHP
17 lines
302 B
PHP
|
<?php
|
||
|
|
||
|
class AbuseFilterSuppressLogFormatter extends LogFormatter {
|
||
|
|
||
|
/**
|
||
|
* @return string
|
||
|
*/
|
||
|
protected function getMessageKey() {
|
||
|
if ( $this->entry->getSubtype() === 'unhide-afl' ) {
|
||
|
return 'abusefilter-log-entry-unsuppress';
|
||
|
} else {
|
||
|
return 'abusefilter-log-entry-suppress';
|
||
|
}
|
||
|
}
|
||
|
|
||
|
}
|