Last modified: 2014-06-13 11:57:03 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T50940, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 48940 - Links in emails: Full stop/dot at end of URL title not interpreted as part of the URL by email clients
Links in emails: Full stop/dot at end of URL title not interpreted as part of...
Status: UNCONFIRMED
Product: MediaWiki
Classification: Unclassified
Email (Other open bugs)
1.22.0
All All
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-05-29 14:45 UTC by Sorawee Porncharoenwase
Modified: 2014-06-13 11:57 UTC (History)
1 user (show)

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


Attachments

Description Sorawee Porncharoenwase 2013-05-29 14:45:14 UTC
I have page http://th.wikipedia.org/wiki/%E0%B8%8B.%E0%B8%95.%E0%B8%9E. in my watchlist and have set preference to send changes in my watchlist to e-mail. When a man changed that page, I got an email about that change typically. However, the link to the page is wrong; the dot at the ending of the link is missing. Here is a part of html code.

<a target="_blank" href="http://th.wikipedia.org/wiki/%E0%B8%8B.%E0%B8%95.%E0%B8%9E">
http://th.wikipedia.org/wiki/%
<wbr></wbr>
E0%B8%8B.%E0%B8%95.%E0%B8%9E
</a>
Comment 1 Alex Monk 2013-05-29 23:39:18 UTC
This is working for me locally (MediaWiki's bit is anyway - Thunderbird isn't parsing the '.' as part of the URL but it is there), are you sure your email client just isn't parsing the '.' as not part of the link? (The email is sent as plain text, any conversion to HTML is done by your email provider/client.)
Comment 2 Andre Klapper 2013-05-30 12:00:21 UTC
Bug 47160 and bug 38265 are similar - which email client is this about?
Might be a bug in the parsing of URLs in your email client.
Comment 3 Sorawee Porncharoenwase 2013-05-30 14:29:55 UTC
I use Gmail on Firefox (Ubuntu). 

Even though this is not MediaWiki bug, it seems this a number of email clients parse URL in this way. Just encode that dot, everything works properly, doesn't it?
Comment 4 Alex Monk 2013-05-30 14:38:42 UTC
Using str_replace to change '.' to '%2E' on $pageTitleUrl in UserMailer::composeCommonMailtext seems to make it detect and link the URL properly, but I don't like this solution at all.

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


Navigation
Links