Page MenuHomePhabricator

Single quotes in selflinks activates italic/bold
Open, Needs TriagePublicBUG REPORT

Description

The wikitext

[[Lista d''e Paise d''o munno]]

is rendered correct as

<a href="..." class="new" title="Lista d&#39;&#39;e Paise d&#39;&#39;o munno">Lista d''e Paise d''o munno</a>

without interpreting the single quotes as italic/bold. See T6598/T13707.

But the same wikitext as selflink on the page https://nap.wikipedia.org/wiki/Lista_d%27%27e_Paise_d%27%27o_munno is rendered as

<a class="mw-selflink selflink">Lista d<i>e Paise d</i>o munno</a>

Expected result:

<a class="mw-selflink selflink">Lista d''e Paise d''o munno</a>

Example: https://www.mediawiki.org/wiki/Special:ExpandTemplates?wpContextTitle=Lista+d%27%27e+Paise+d%27%27o+munno&wpInput=[[Lista+d%27%27e+Paise+d%27%27o+munno]]&wpGenerateRawHtml=1

Event Timeline

Fomafix changed the subtype of this task from "Task" to "Bug Report".Mar 2 2019, 11:54 AM