Hi Parsoid developers,
It seems Parsoid data-mw doesn't separate embeded infobox with the previous attribute. For example:
Page http://en.wikipedia.org/wiki/New_York_Botanical_Garden has wikitext:
{{Infobox Museum ... | website = {{URL|http://www.nybg.org/}} {{Infobox NRHP // we're expecting this infobox not mixing with the previous "website" attribute | embed = yes | nrhp_type = nhl ... }} }}
The data-mw combines the embeded infobox into value of "website", which is unexpected:
"website":{"wt":"{{URL|http://www.nybg.org/}}\n{{Infobox NRHP\n | embed = yes\n | nrhp_type = nhl\n | ...}}"},
Can you separate the embeded infobox so that it doesn't pollute the "website" attribute? We noticed data-mw can give expected results for embeded infobox who have a specific key, e.g.
Page http://en.wikipedia.org/wiki/David_Beckham has wikitext
{{Infobox person ... | website = [http://www.davidbeckham.com davidbeckham.com] | module = {{Infobox football biography // this infobox is considered as value of "module" | embed = yes | position = [[Midfielder]] ... }} }}
and we have data-mw:
"module":{"wt":"{{Infobox football biography\n| embed = yes\n|...}}"}
Is it possible to automatically add a "module" attribute for the embeded infobox in the previous example?
Thanks,