r45481 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r45480‎ | r45481 | r45482 >
Date:03:23, 7 January 2009
Author:aaron
Status:deferred
Tags:
Comment:
Add autopatrol of new pages to log
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php (modified) (history)

Diff [purge]

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

Status & tagging log