Author: stas-fomin
Description:
In email notifications now (1.4b6-1.5-CVS) "Subject" is not quoted-printable, only
pagetitle is quoted:
See UserMailer.php, function composeCommonMailtext:
$subject = str_replace( '$PAGETITLE_QP', wfQuotedPrintable( str_replace
( '_', ' ', $pagetitle ) ), $subject);
But if we localize (translate) user-mailer messages, then Subject may be unreadable in
some email clients (for example Lotus Notes).
So we propose not to quote pagetitle,
+ $subject = str_replace('$PAGETITLE_QP', str_replace( '_', ' ', $pagetitle),
$subject);
but quote "Subject" itself
$this->replyto = $replyto;
- $this->subject = $subject;
+ $this->subject = wfQuotedPrintable($subject);
$this->body = $body;
Version: 1.5.x
Severity: normal
Platform: PC