Last modified: 2010-05-15 15:38:20 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 3407 - Encode subjects in page change notification emails
Encode subjects in page change notification emails
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
All All
: Normal normal with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2005-09-09 16:41 UTC by A.A. Shimono aka. himorin
Modified: 2010-05-15 15:38 UTC (History)
0 users

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

Patch for HEAD (8.68 KB, patch)
2005-12-12 06:04 UTC, Brion Vibber

Description A.A. Shimono aka. himorin 2005-09-09 16:41:48 UTC
# from
subject of mail notification from MW 1.5rc4 is not encoded when using 2-byte
UTF-8 charactors (like Japanese).
it should be encoded by B-encode for mail header.

# or some special settings in MW to do this :p
# if so, it should be enable by default.
Comment 1 A.A. Shimono aka. himorin 2005-09-09 17:06:08 UTC
in include/UserMailer.php, we should add wfQuotedPrintable(), i think.

% diff UserMailer.php mediawiki-1.5rc4/includes/UserMailer.php 
<               $this->subject = wfQuotedPrintable( $subject );
>               $this->subject = $subject;
Comment 2 Pavel Zavyalov 2005-11-29 14:56:16 UTC
Russian wikipedia is also affected by this bug.
Please, fix it.
Comment 3 Rob Church 2005-11-29 16:06:04 UTC
(In reply to comment #2)
> Russian wikipedia is also affected by this bug.
> Please, fix it.

As are all the other Wikipedias, and any other wiki using MediaWiki. Just bear
with us while someone proposes a patch, reviews and commits it.

The version is set to 1.5rc4. Has this been fixed in a release version, like 1.5.2?
Comment 4 Brion Vibber 2005-12-12 06:04:26 UTC
Created attachment 1175 [details]
Patch for HEAD

* (bug 3407) Fix encoding of subject and from/to headers on notification
  mails; userMailer() now takes a MailAddress wrapper object instead of
  a raw string to abstract things a level.
Comment 5 Brion Vibber 2005-12-12 06:10:07 UTC
Applied to CVS HEAD.

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