Page MenuHomePhabricator

URLs that include punctuation characters are mangled by email clients
Closed, ResolvedPublic

Description

I received the email notification below that I was mentioned on an article talk page. However, that link doesn't take me to the talk page section, as I expected, and leaves me at the top of the talk page, making it hard to find where exactly my name was mentioned.

If at all possible, it might be great if it could take me directly to the specific comment where my name was cited, perhaps by adding some form of anchor?

At the very least, let's try to make the section link work.

This is the email message I received:

' Wikipedia user Ignatzmice mentioned you on Wikipedia talk:Notifications.

/* User mentions have potential... */ pinging newbies

View more:

http://en.wikipedia.org/wiki/Wikipedia_talk:Notifications#User_mentions_have_potential... '

However, the three dots at the end were not included in the email link, which only had this highlighted in blue:

http://en.wikipedia.org/wiki/Wikipedia_talk:Notifications#User_mentions_have_potential

This is the link where I expected to go:

http://en.wikipedia.org/wiki/Wikipedia_talk:Notifications#User_mentions_have_potential...


Version: unspecified
Severity: normal

Details

Reference
bz48302

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 1:24 AM
bzimport added a project: Notifications.
bzimport set Reference to bz48302.

Related URL: https://gerrit.wikimedia.org/r/63007 (Gerrit Change Ia7d3a4a437438ba473c24b3f4f98bb133cd52954)

https://gerrit.wikimedia.org/r/63007 (Gerrit Change Ia7d3a4a437438ba473c24b3f4f98bb133cd52954) | change APPROVED and MERGED [by jenkins-bot]

  • Bug 48482 has been marked as a duplicate of this bug. ***

The fix we implemented ended up breaking other URLs in very obscure cases on certain email clients. Still needs some work.

Related URL: https://gerrit.wikimedia.org/r/63905 (Gerrit Change I101fe3c1c3dbf913982b9040885b2acc633e711a)

https://gerrit.wikimedia.org/r/63905 (Gerrit Change I101fe3c1c3dbf913982b9040885b2acc633e711a) | change APPROVED and MERGED [by jenkins-bot]