mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-23 21:53:35 +00:00
Show link to test filter to all users who can use it
Bug: T232962 Change-Id: I67357975a7064991e47c60b70c487d12bdf6b7b4
This commit is contained in:
parent
8f4711c8ca
commit
6699237b86
|
@ -368,7 +368,7 @@ class AbuseFilterViewEdit extends AbuseFilterView {
|
|||
);
|
||||
}
|
||||
|
||||
if ( AbuseFilter::canEdit( $user ) ) {
|
||||
if ( AbuseFilter::canViewPrivate( $user ) ) {
|
||||
// Test link
|
||||
$tools .= Xml::tags(
|
||||
'p', null,
|
||||
|
|
Loading…
Reference in a new issue