Last modified: 2014-06-09 15:39:52 UTC
Where a reference contains a name string with more than two " characters VE does not see it as a reference, although the PHP parser does. e.g. <ref name="Miranda - Stevie sings "Proud" on YouTube">{{cite web|url=http://www.youtube.com/watch?v=idNNIUUg5NE|title=Miranda - Stevie sings "Proud" on YouTube}}</ref> is seen as a reference by the PHP parser but not by VE. Seen at [[Miranda (TV_series)#Cast and Characters]] Tested at https://en.wikipedia.org/w/index.php?title=User:Thryduulf/sandbox4&oldid=576110777 where in view mode there are four references but in VE only the middle two are recognised as references.
Problem is in Parsoid: <ref name="Foo 'Bar' Baz">Foo</ref> -> <p data-parsoid="{"dsr":[0,35,0,0]}"><span about="#mwt2" class="reference" data-mw="{"name":"ref","body":{"html":"Foo"},"attrs":{"name":"Foo 'Bar' Baz"}}" id="cite_ref-Foo 'Bar' Baz-1-0" rel="dc:references" typeof="mw:Extension/ref" data-parsoid="{"src":"<ref name=\"Foo 'Bar' Baz\">Foo</ref>","dsr":[0,35,26,6]}"><a href="#cite_note-Foo 'Bar' Baz-1">[1]</a></span></p> But: <ref name="Foo "Bar" Baz">Foo</ref> -> <p data-parsoid="{"dsr":[37,72,0,0]}"><ref name="Foo "Bar" Baz">Foo</ref></p> Arguably this is horribly-broken wikitext and should be burnt with fire, of course.
I am tempted to WONTFIX this. How common of a use case is this?
*** Bug 57252 has been marked as a duplicate of this bug. ***
@Chris McKenna, James: How common is this issue? Is it worth supporting such broken attributes? Setting priority to low until it is clear that this is an issue we should tackle.