Last modified: 2010-05-15 15:56:41 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 6336 - Email address confirmation email, missing line breaks
Email address confirmation email, missing line breaks
Product: MediaWiki
Classification: Unclassified
User preferences (Other open bugs)
PC Windows XP
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2006-06-16 23:08 UTC by Mary
Modified: 2010-05-15 15:56 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Mary 2006-06-16 23:08:33 UTC
Email address confirmation emails are missing line breaks. I don't know if other
emails are affected.

* Confirmed in a raw view of the email source, entire message appears on one
long line.
* Tried two different email accounts, one with my ISP (Shaw), the other GMail.
Same result.
* Local setup on WinXP. Apache 2, PHP 5.1.4, MySQL 5.0.18. I'm not sure if
there's any other info you need.

I was able to fix the problem by adding:

$body = str_replace("\n", "\r\n", $body);

to the userMailer function inside includes/UserMailer.php
Comment 1 Raimond Spekking 2007-11-20 07:52:02 UTC
This was a long time ago fixed with r17001.

Note You need to log in before you can comment on or make changes to this bug.