Pass the User object to RecentChange::doMarkPatrolled() instead of relying on $wgUser