Last modified: 2014-06-13 11:57:03 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>
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.)
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.
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?
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.