Index: trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php |
— | — | @@ -763,6 +763,8 @@ |
764 | 764 | # is enabled (except when the user has 'autopatrol', then patrol it). |
765 | 765 | if( $wgUser->isAllowed('autopatrol') ) { |
766 | 766 | $patrol = true; |
| 767 | + # Record patrolled new pages if $wgUseNPPatrol is on |
| 768 | + $record = ( $wgUseNPPatrol && !empty($rc->mAttribs['rc_new']) ); |
767 | 769 | } else { |
768 | 770 | $patrol = !( $wgUseNPPatrol && !empty($rc->mAttribs['rc_new']) ); |
769 | 771 | } |