Page MenuHomePhabricator

{{FlowMention|Someone}} displays a link that connects with the following characters after it, in case there's no space between them (but only if the text is not capitalized)
Open, MediumPublic

Description

This wikitext:

{{FlowMention|Admin}}foo

is rendered as

<a href="/w/index.php?title=User:Admin&amp;action=edit&amp;redlink=1" class="new" title="User:Admin" rel="mw:WikiLink" about="#mwt1" data-parsoid="{&quot;stx&quot;:&quot;piped&quot;,&quot;a&quot;:{&quot;href&quot;:&quot;./User:Admin&quot;},&quot;sa&quot;:{&quot;href&quot;:&quot;User:Admin&quot;},&quot;tail&quot;:&quot;foo&quot;}">Adminfoo</a>

And yet, if the text is capitalized, it's working fine:

{{FlowMention|Admin}}Foo

is rendered as

<a href="/w/index.php?title=User:Admin&amp;action=edit&amp;redlink=1" class="new" title="User:Admin" rel="mw:WikiLink" about="#mwt1" data-parsoid="{&quot;stx&quot;:&quot;piped&quot;,&quot;a&quot;:{&quot;href&quot;:&quot;./User:Admin&quot;},&quot;sa&quot;:{&quot;href&quot;:&quot;User:Admin&quot;}}">Admin</a>Foo

Details

Event Timeline

Mooeypoo raised the priority of this task from to Needs Triage.
Mooeypoo updated the task description. (Show Details)
Mooeypoo subscribed.

This is standard link trail behavior. We can fix it (I'll put up a patch) using the famous <nowiki />, but we'll have to change FlowCreateTemplates to deploy it.

Change 234706 had a related patch set uploaded (by Mattflaschen):
Work around link trail with nowiki

https://gerrit.wikimedia.org/r/234706

Catrope triaged this task as Medium priority.Sep 2 2015, 11:23 PM
Catrope subscribed.

Change 234706 abandoned by Mattflaschen:
Work around link trail with nowiki

Reason:
Restore when T110772 is fixed.

https://gerrit.wikimedia.org/r/234706