r97601 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r97600‎ | r97601 | r97602 >
Date:08:18, 20 September 2011
Author:nikerabbit
Status:ok
Tags:
Comment:
Fixing a bug in r97495 that Aaron catched. I misinterpreted the documentation for what 'valid' means.
Modified paths:
  • /trunk/phase3/includes/PatrolLog.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/PatrolLog.php
@@ -30,7 +30,7 @@
3131 $entry = new ManualLogEntry( 'patrol', 'patrol' );
3232 $entry->setTarget( $title );
3333 $entry->setParameters( self::buildParams( $rc, $auto ) );
34 - $entry->setPerformer( User::newFromName( $rc->getAttribute( 'rc_user_text' ) ) );
 34+ $entry->setPerformer( User::newFromName( $rc->getAttribute( 'rc_user_text' ), false ) );
3535 $logid = $entry->insert();
3636 if ( !$auto ) {
3737 $entry->publish( $logid, 'udp' );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r97495Converted patrol log to the new systemnikerabbit14:21, 19 September 2011

Status & tagging log