Come up with a design to make it easier for users to see that there is no space after a link (just the cartouche) and so you probably want to add one
Open, LowPublic

Description

The visual representation of <a href="foo">foo</a>bar is a bit too close to how <a href="foo">foo</a> bar should look. This leads to users creating odd edits which they almost certainly don't intend.

Tgr created this task.Feb 25 2016, 10:37 AM
Restricted Application added subscribers: StudiesWorld, Aklapper. · View Herald TranscriptFeb 25 2016, 10:37 AM
Elitre added a subscriber: Elitre.Feb 25 2016, 12:49 PM

T39939 seems related.

Elitre added a comment.EditedFeb 25 2016, 1:14 PM

I need to make sure I understand what you are saying. It seems to me that there may be different outcomes,

  1. [[Hatvan|Hatvanban]] (ban is added later and becomes part of the wikilink)
  2. [[Hatvan]]<nowiki />ban
  3. [[Hatvan]]ban

Which one is the desirable one? It seems to me you are pointing toward #1?

Samat added a subscriber: Samat.Feb 25 2016, 3:00 PM
Samat added a comment.EditedFeb 25 2016, 3:13 PM

The first and third form result the same rendered text, while at the second option the ban part will be unlinked.
Usually we used the 3rd form in wiki code: easier to write and it results simpler code.
If an article used the first form, bots (like AWB in the frame of general fixes) change to option 3.

See my comment here: https://hu.wikipedia.org/w/index.php?title=Wikip%C3%A9dia%3AKocsmafal_%28m%C5%B1szaki%29&type=revision&diff=17247830&oldid=17247648

Tgr added a comment.Feb 25 2016, 7:29 PM

[[Hatvan]]ban is maybe nicer than [[Hatvan|Hatvanban]] but there is little practical difference, and I imagine the first would be significantly more complex to implement.

I don't think the practical difference is all that matters, and I think we may want to solve this problem effectively also for other languages. See T128349 too.

Jdforrester-WMF renamed this task from VisualEditor: characters typed at the end of link should become part of it if they match the linktrail regexp to Come up with a design to make it easier for users to see that there is no space after a link (just the cartouche) and so you probably want to add one.Mar 7 2016, 8:43 PM
Jdforrester-WMF triaged this task as Low priority.
Jdforrester-WMF updated the task description. (Show Details)

(Stumbled upon T101917, possibly related?)

jhsoby added a subscriber: jhsoby.Oct 15 2016, 9:40 PM