https://bugzilla.wikimedia.org/show_bug.cgi?id=64022
--- Comment #2 from [email protected] --- (In reply to Arlo Breault from comment #1) > From #63790, > > error in frwiki:Dialogue_du_chapon_et_de_la_poularde: In WSP.handleImage, > node does not have any img elements: <span typeof="mw:Image" > data-parsoid="{"optList":[{"ck":&quo > t;width","ak":"20px"}],"dsr":[2210,2241, > null,null]}"></span> > Stack: > WikitextSerializer.figureHandler > (/usr/lib/parsoid/src/lib/wts.LinkHandler.js:543:12) > Object.TagHandlers.span.handle > (/usr/lib/parsoid/src/lib/wts.TagHandlers.js:801:23) Can be reproduced with this snippet: "[http://google.com [[Image:Foo.jpg|20px]]]" -- this is bad nesting (link within a link). We have code in DOM fragment unpacking for dealing with a-nested-in-a scenario and fixing things up which may not be handling images correctly. You can see a "misnested:true" flag in the parse output, but it is leaving behind a Image span wrapper in the extlink a-tag which is what trips up the serializer (and would trip up VE as well, I imagine). -- 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
