Page MenuHomePhabricator

Visual Editor should automatically exclude typed punctuation marks from internal links text
Open, Needs TriagePublic

Description

I quite frequently see that punctuation marks are unnecessarily included in links. For example:

The document is encoded in [[ASCII|ASCII.]]

should be:

The document is encoded in [[ASCII]].

Occasionally punctuation marks are needed in titles, for example in Apple Inc. or Crooked Rain, Crooked Rain. In such cases it must remain in the link, of course. But if it's not needed, they should be auto-excluded from the link.

Event Timeline

Jdforrester-WMF changed the task status from Open to Stalled.Jul 19 2016, 7:29 PM
Jdforrester-WMF subscribed.

We already auto-remove trailing punctuation and whitespace from auto-selections before making a link, and terminate link expansion on those rules. I'm not sure what more we could do, beyond a prompt asking users if they're sure they want to have such content in those places.

We already auto-remove trailing punctuation and whitespace from auto-selections before making a link, and terminate link expansion on those rules. I'm not sure what more we could do, beyond a prompt asking users if they're sure they want to have such content in those places.

Hence declining per last comment, as I don't see what this task is exactly "stalled" on.

We already auto-remove trailing punctuation and whitespace from auto-selections before making a link, and terminate link expansion on those rules. I'm not sure what more we could do, beyond a prompt asking users if they're sure they want to have such content in those places.

Hence declining per last comment, as I don't see what this task is exactly "stalled" on.

Such a prompt could be one solution. It's not the most important thing, but this problem still exists and I see it in edits in multiple languages every day. Helping the user fix it or notice it should be done by the software.