mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-12-12 06:05:45 +00:00
10ad58a6f3
Also make entries in Special:Log/suppress filterable. Change-Id: Ic23e724997e4748c8d0da8138aa73d31b17b7064
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';
|
|
}
|
|
}
|
|
|
|
}
|