r45589 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r45588‎ | r45589 | r45590 >
Date:00:05, 9 January 2009
Author:aaron
Status:resolved (Comments)
Tags:
Comment:
(bug 16914) Autopatrol only the edit made, not previous ones; was using the wrong function
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php
@@ -769,8 +769,9 @@
770770 $patrol = !( $wgUseNPPatrol && !empty($rc->mAttribs['rc_new']) );
771771 }
772772 }
 773+ // Set rc_patrolled flag and add log entry as needed
773774 if( $patrol ) {
774 - RevisionReview::updateRecentChanges( $rc->getTitle(), $rc->mAttribs['rc_this_oldid'] );
 775+ $rc->reallyMarkPatrolled();
775776 if( $record ) {
776777 PatrolLog::record( $rc->mAttribs['rc_id'], true );
777778 }

Follow-up revisions

RevisionCommit summaryAuthorDate
r45591Fix for r45589: still patrol as before for reviewed editsaaron00:32, 9 January 2009

Comments

#Comment by Aaron Schulz (talk | contribs)   00:32, 9 January 2009

Fix in r45591

Status & tagging log