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

Ed Sanders <esand...@wikimedia.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ssas...@wikimedia.org
          Component|Data Model                  |General
           Assignee|esand...@wikimedia.org      |gwi...@wikimedia.org
            Product|VisualEditor                |Parsoid
            Summary|VisualEditor: it.wp version |Parsoid: About grouping
                   |of Template:Sister adding   |doesn't work in all cases
                   |span tags                   |

--- Comment #2 from Ed Sanders <esand...@wikimedia.org> ---
This extra HTML is correctly added here for the sake of putting something
meaningful into the external clipboard. data-ve-ignore tells the converter to
ignore it if it's pasted into another VE instances, and about="g[random]" tells
Parsoid to ignore it. However the about grouping appears not to be working at
Parsoids end:

HTML:
<p><span about="g1" typeof="mw:Transclusion"
data-mw="{&quot;parts&quot;:[{&quot;template&quot;:{&quot;target&quot;:{&quot;href&quot;:&quot;Template:Interprogetto&quot;,&quot;wt&quot;:&quot;Interprogetto&quot;},&quot;params&quot;:{&quot;commons&quot;:{&quot;wt&quot;:&quot;cats&quot;}}}}]}"
data-ve-no-generated-contents="true"></span><span data-ve-ignore="true"
about="g1"></span><ul data-ve-ignore="true" about="g1">
<li>Foo</li>
</ul>
<span data-ve-ignore="true" about="g1">

</span></p>

Wikitext:
{{Interprogetto|commons = cats}}
* Foo

<span data-ve-ignore="true" about="g1"></span>

The first about-grouped sibling is discarded, but the subsequent ul and span
are not.

-- 
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