Page MenuHomePhabricator

foo''bar is a valid string in napwiki and parsoid shouldn't be nowiki-ing it there
Closed, ResolvedPublic

Description

There are some words in nap.wp (possibly scn.wp as well?) who need a double apostrophe (when a contraction of words needs to happen).
https://nap.wikipedia.org/w/index.php?title=Papa_Giovanni_Paolo_II&diff=633552&oldid=633551 is an example, if VE adds nowiki tags it can break wikilinks that would work fine otherwise.


Version: unspecified
Severity: normal

Details

Reference
bz62341

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:06 AM
bzimport added a project: Parsoid.
bzimport set Reference to bz62341.

Documenting behavior for now:

[subbu@earth tests] cat /tmp/x.html
<a rel="mw:WikiLink" href="./Cità_d''o_Vaticano">Cità d''o Vaticano</a>
[subbu@earth tests] node parse --html2wt < /tmp/x.html
[[Cità d<nowiki>''</nowiki>o Vaticano]]
[subbu@earth tests] echo "[[Cità d''o Vaticano]]" | node parse --wt2wt
[[Cità d''o Vaticano]]

To be investigated ...

Change 119895 had a related patch set uploaded by Subramanya Sastry:
WIP: (Bug 62341) WTS fix to use regular wikilinks if nowikis show up.

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

Change 119895 merged by jenkins-bot:
(Bug 62341) WTS fix to use regular wikilinks if nowikis show up.

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

Fixed in master, to be deployed tomorrow.