$headers = array(
"MIME-Version: 1.0",
- "Content-type: $contentType",
+ "Content-type: $contentType",
"Content-Transfer-Encoding: 8bit",
"X-Mailer: MediaWiki mailer",
"From: " . $from->toString(),
return $string;
}
$out = "=?$charset?Q?";
- $out .= preg_replace_callback( "/([$replace])/",
+ $out .= preg_replace_callback( "/([$replace])/",
array( __CLASS__, 'quotedPrintableCallback' ), $string );
$out .= '?=';
return $out;
*/
$keys['$NEWPAGE'] = wfMsgForContent( 'enotif_lastdiff',
$this->title->getFullURL( "oldid={$this->oldid}&diff=next" ) );
- }
+ }
$body = strtr( $body, $keys );
$pagetitle = $this->title->getPrefixedText();
$adminAddress = new MailAddress( $wgPasswordSender, $wgPasswordSenderName );
$editorAddress = new MailAddress( $editor );
if ( $wgEnotifRevealEditorAddress
- && ( $editor->getEmail() != '' )
- && $editor->getOption( 'enotifrevealaddr' ) ) {
+ && ( $editor->getEmail() != '' )
+ && $editor->getOption( 'enotifrevealaddr' ) ) {
if ( $wgEnotifFromEditor ) {
$from = $editorAddress;
} else {