Index: trunk/phase3/includes/api/ApiQueryRecentChanges.php |
— | — | @@ -68,7 +68,8 @@ |
69 | 69 | public static function getPatrolToken($pageid, $title, $rc) |
70 | 70 | { |
71 | 71 | global $wgUser; |
72 | | - if(!$wgUser->useRCPatrol() && !$wgUser->useNPPatrol()) |
| 72 | + if(!$wgUser->useRCPatrol() && (!$wgUser->useNPPatrol() || |
| 73 | + $rc->getAttribute('rc_type') != RC_NEW)) |
73 | 74 | return false; |
74 | 75 | |
75 | 76 | // The patrol token is always the same, let's exploit that |