From 4c228c92f0574fa340d35509de5720dfb3d31eb7 Mon Sep 17 00:00:00 2001 From: cenarium Date: Fri, 13 Feb 2015 13:55:28 +0100 Subject: [PATCH] Check use of RC patrol for watchlists This checks use of RC patrol instead of NP patrol to determine when to display show/hide patroled edits in watchlists. RecentChanges already does this, and there's no use in displaying a setting that only affect new page creations in the watchlist. The filtering cannot work anyway since ChangesListSpecialPage checks for RC patrol on its own. Bug: T76054 Change-Id: I9c587f56297881d58551ee302c4de01e9452b960 --- includes/specials/SpecialWatchlist.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/specials/SpecialWatchlist.php b/includes/specials/SpecialWatchlist.php index ca3386cf3c..df9d363989 100644 --- a/includes/specials/SpecialWatchlist.php +++ b/includes/specials/SpecialWatchlist.php @@ -428,7 +428,7 @@ class SpecialWatchlist extends ChangesListSpecialPage { $filters[$key] = $params['msg']; } // Disable some if needed - if ( !$user->useNPPatrol() ) { + if ( !$user->useRCPatrol() ) { unset( $filters['hidepatrolled'] ); } -- 2.20.1