mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-23 13:46:48 +00:00
Merge "Show link to test filter to all users who can use it"
This commit is contained in:
commit
f8c72d3b30
|
@ -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