mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-27 23:40:19 +00:00
Add a link to filter id in Special:AbuseFilter/history
Currently, there is no link to the current version of the filter from the history (unless one clicks on the last timestamp link of that filter) and that is sub-optimal. Change-Id: Ibc7fcfab386e687d052878602fa810c5a3590d6c
This commit is contained in:
parent
97b34fbfbe
commit
6129d2f500
|
@ -122,7 +122,8 @@ class AbuseFilterHistoryPager extends TablePager {
|
|||
|
||||
switch( $name ) {
|
||||
case 'afh_filter':
|
||||
$formatted = $lang->formatNum ( $row->afh_filter );
|
||||
$formatted = Linker::link(
|
||||
SpecialPage::getTitleFor( 'AbuseFilter', intval( $row->afh_filter ) ), $lang->formatNum ( $row->afh_filter ) );
|
||||
break;
|
||||
case 'afh_timestamp':
|
||||
$title = SpecialPage::getTitleFor( 'AbuseFilter',
|
||||
|
|
Loading…
Reference in a new issue