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

ssas...@wikimedia.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #4 from ssas...@wikimedia.org ---
This is just a buggy template / template use.

The wikitext on https://en.wikipedia.org/w/index.php?oldid=625300040 leads to
the following template expansion for the infobox:

...
<span class="Z3988"
         
title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=book&rft.btitle=Everyone+Poops<ref
name="bnn">{{cite
web|url=http://search.barnesandnoble.com/Everyone-Poops/Taro-Gomi/e/9780916291457|title=Everyone
Poops, My Body Science Series, Taro Gomi,
Book|accessdate=2008-02-14|year=2009|publisher=[[Barnes &
Noble]]}}</ref>"></span
...

See how the span has a title attribute that has a ref tag and transclusion. But
even that brokenness is okay .. the real problem is the use of double quotes
for the name attribute of the <ref> tag that is embedded in the title
attribute.

So, the wikitext is effectively something like this:

<span title="....name="bnn"..."</span>

That is broken because of the use of double quotes which terminates the title
attribute early. This is one of those edge-case differences between PHP parser
and Parsoid. If the name="bnn" is replaced with name='bnn', this will work.

This is a wontfix on the Parsoid end since there is a wikitext edit that will
handle this strange edge case.

Please reopen if there is something to do on the Parsoid end.

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

Reply via email to