VisualEditor: Category leaks out of transclusion when round-tripped through VE
Closed, ResolvedPublic


Example diff:

Works in Parsoid:

echo '{{commons category}}' | node parse --wt2wt
{{commons category}}

Version: unspecified
Severity: normal
See Also:

bzimport set Reference to bz50332.
GWicke created this task.Via LegacyJun 27 2013, 11:23 PM
GWicke added a comment.Via ConduitJul 10 2013, 7:37 PM

Looks like a link element that is also encapsulated is not properly handled by VE:

<link rel="mw:WikiLink/Category" href="./Category:Commons_category_without_a_link_on_Wikidata" data-parsoid='{"stx":"simple","a":{"href":"./Category:Commons_category_without_a_link_on_Wikidata"},"sa":{"href":"Category:Commons category without a link on Wikidata"}}' about="#mwt1">

GWicke added a comment.Via ConduitJul 10 2013, 11:55 PM

This was fixed by the fix for bug 50120. The DOM produced by the {{commons category}} template is very similar to the persondata template.

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.