Page MenuHomePhabricator

Cite: Improve acceptance of buggy ref wikitext
Closed, ResolvedPublic

Description

The following ref-tag patterns have showed up in RT-testing and with improved nowiki-escaping of ref-tags, these ref-tags end up getting wrapped in <nowiki> tags.

<ref name='foo"> .. </ref>
<ref name="foo'> .. </ref>
<ref name=foo"> .. </ref>
<ref name="foo> .. </ref>
<ref name="foo"> .. </rf>

Some sample pages:

  1. http://parsoid.wmflabs.org/_rt/nlwiki/Fred_Vargas
  2. http://parsoid.wmflabs.org/_rt/zhwiki/%E6%BE%B3%E9%96%80%E5%9E%83%E5%9C%BE%E7%84%9A%E5%8C%96%E4%B8%AD%E5%BF%83
  3. http://parsoid.wmflabs.org/_rt/zhwiki/%E5%B0%BC%E5%85%8B%C2%B7%E6%AD%A6%E4%BC%8A%E5%A5%91%E5%A5%87

Version: unspecified
Severity: enhancement

Details

Reference
bz59598

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 2:41 AM
bzimport added a project: Parsoid.
bzimport set Reference to bz59598.
Arlolra set Security to None.
ssastry lowered the priority of this task from High to Medium.Mar 3 2015, 9:24 PM
Arlolra claimed this task.
Arlolra subscribed.

We match the php parser with T108134 and others.