Merge "Show link to test filter to all users who can use it"

This commit is contained in:
jenkins-bot 2019-09-16 10:30:09 +00:00 committed by Gerrit Code Review
commit f8c72d3b30

View file

@ -368,7 +368,7 @@ class AbuseFilterViewEdit extends AbuseFilterView {
);
}
if ( AbuseFilter::canEdit( $user ) ) {
if ( AbuseFilter::canViewPrivate( $user ) ) {
// Test link
$tools .= Xml::tags(
'p', null,