r91658 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r91657‎ | r91658 | r91659 >
Date:17:43, 7 July 2011
Author:mah
Status:ok
Tags:
Comment:
w/s fixup before patch
Modified paths:
  • /trunk/phase3/includes/UserMailer.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/UserMailer.php
@@ -213,7 +213,7 @@
214214
215215 $headers = array(
216216 "MIME-Version: 1.0",
217 - "Content-type: $contentType",
 217+ "Content-type: $contentType",
218218 "Content-Transfer-Encoding: 8bit",
219219 "X-Mailer: MediaWiki mailer",
220220 "From: " . $from->toString(),
@@ -292,7 +292,7 @@
293293 return $string;
294294 }
295295 $out = "=?$charset?Q?";
296 - $out .= preg_replace_callback( "/([$replace])/",
 296+ $out .= preg_replace_callback( "/([$replace])/",
297297 array( __CLASS__, 'quotedPrintableCallback' ), $string );
298298 $out .= '?=';
299299 return $out;
@@ -524,7 +524,7 @@
525525 */
526526 $keys['$NEWPAGE'] = wfMsgForContent( 'enotif_lastdiff',
527527 $this->title->getFullURL( "oldid={$this->oldid}&diff=next" ) );
528 - }
 528+ }
529529
530530 $body = strtr( $body, $keys );
531531 $pagetitle = $this->title->getPrefixedText();
@@ -545,8 +545,8 @@
546546 $adminAddress = new MailAddress( $wgPasswordSender, $wgPasswordSenderName );
547547 $editorAddress = new MailAddress( $editor );
548548 if ( $wgEnotifRevealEditorAddress
549 - && ( $editor->getEmail() != '' )
550 - && $editor->getOption( 'enotifrevealaddr' ) ) {
 549+ && ( $editor->getEmail() != '' )
 550+ && $editor->getOption( 'enotifrevealaddr' ) ) {
551551 if ( $wgEnotifFromEditor ) {
552552 $from = $editorAddress;
553553 } else {

Status & tagging log