$log = new LogPage( 'delete' );
$logComment = wfMsgForContent( 'deletedrevision', $oldimage );
if( trim( $reason ) != '' )
- $logComment .= ": {$reason}";
+ $logComment .= wfMsgForContent( 'colon-separator' ) . $reason;
$log->addEntry( 'delete', $title, $logComment );
}
} else {
$comment = wfMsgForContent( '1movedto2_redir', $this->getPrefixedText(), $nt->getPrefixedText() );
if ( $reason ) {
- $comment .= ": $reason";
+ $comment .= wfMsgForContent( 'colon-separator' ) . $reason;
}
$now = wfTimestampNow();
}
if( trim( $comment ) != '' )
- $reason .= ": {$comment}";
+ $reason .= wfMsgForContent( 'colon-separator' ) . $comment;
$log->addEntry( 'restore', $this->title, $reason );
return array($textRestored, $filesRestored, $reason);