r107318 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r107317‎ | r107318 | r107319 >
Date:14:15, 26 December 2011
Author:ialex
Status:ok
Tags:
Comment:
Follow-up r106567: pass the User object to LogPage::addEntry(); was breaking protect.php maintenance script
Modified paths:
  • /trunk/phase3/includes/WikiPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/WikiPage.php
@@ -1526,7 +1526,7 @@
15271527
15281528 # Update the protection log
15291529 $log = new LogPage( 'protect' );
1530 - $log->addEntry( $logAction, $this->mTitle, trim( $reason ), $logParams );
 1530+ $log->addEntry( $logAction, $this->mTitle, trim( $reason ), $logParams, $user );
15311531
15321532 return Status::newGood();
15331533 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r106567* Merged WikiPage::updateRestrictions() and Title::updateTitleProtection() in...ialex16:01, 18 December 2011

Status & tagging log