From 6699237b861453d6fc36ccc4fa149a7664c3de52 Mon Sep 17 00:00:00 2001 From: DannyS712 Date: Sun, 15 Sep 2019 22:03:26 +0000 Subject: [PATCH] Show link to test filter to all users who can use it Bug: T232962 Change-Id: I67357975a7064991e47c60b70c487d12bdf6b7b4 --- includes/Views/AbuseFilterViewEdit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Views/AbuseFilterViewEdit.php b/includes/Views/AbuseFilterViewEdit.php index 5908ab404..4ccd113fb 100644 --- a/includes/Views/AbuseFilterViewEdit.php +++ b/includes/Views/AbuseFilterViewEdit.php @@ -368,7 +368,7 @@ class AbuseFilterViewEdit extends AbuseFilterView { ); } - if ( AbuseFilter::canEdit( $user ) ) { + if ( AbuseFilter::canViewPrivate( $user ) ) { // Test link $tools .= Xml::tags( 'p', null,