r112046 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r112045‎ | r112046 | r112047 >
Date:21:27, 21 February 2012
Author:reedy
Status:ok
Tags:
Comment:
consistently use $entry
Modified paths:
  • /trunk/phase3/includes/logging/LogFormatter.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/logging/LogFormatter.php
@@ -158,9 +158,9 @@
159159
160160 $entry = $this->entry;
161161 $parameters = $entry->getParameters();
162 - switch ( $this->entry ) {
 162+ switch ( $entry ) {
163163 case 'move':
164 - if ( $this->entry->getSubtype() === 'move_redir' ) {
 164+ if ( $entry->getSubtype() === 'move_redir' ) {
165165 $movesource = $parameters['4::target'];
166166 $movetarget = $entry->getTarget()->getText();
167167 $text = wfMsg( '1movedto2_redir', $movesource, $movetarget );

Sign-offs

UserFlagDate
Nikerabbitinspected07:45, 22 February 2012

Follow-up revisions

RevisionCommit summaryAuthorDate
r112073MFT r112045, r112046, r112049, r112061, r112062, r112063, r112065, r112066, r...reedy00:54, 22 February 2012
r112639MFT r112045, r112046, r112049, r112061, r112066, r112079, r112128reedy21:08, 28 February 2012

Status & tagging log