https://bugzilla.wikimedia.org/show_bug.cgi?id=53402

--- Comment #1 from [email protected] ---
Oh, I have run into this before .. I documented this behavior in an earlier bug
report .. if only I can remember how to find that report.  Or maybe it was on
the Feedback page?

IIRC, the problem is that the ProdCode parameter to Episode list is also used
as the "id" HTML attribute value of a <td> cell in the template, either Episode
list itself or other templates that Episode list uses.  So, using anything else
besides either a number of a string effectively breaks the HTML generated by
the template.  <td id="113<ref name="xyz" />"> no longer parses as a <td>.  For
some reason, the PHP parser is able to ignore the error (but once again IIRC,
there was a minor HTML diff from the error, but I could be mistaken).  But
Parsoid's parse breaks more significantly because it becomes <td id="113<ref
name=" and Parsoid is not able to recover from this gracefully.

Note that this only affects named parameters that use the same kind of quotes
as the template that uses the ProdId parameter.

I would say that either the template needs fixing or users of Episode list
template need to know about how that parameter is being used by the template
and constraints on it.

It would be good if someone independently verifies this.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to