Last modified: 2013-07-10 23:56:35 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T52332, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 50332 - VisualEditor: Category leaks out of transclusion when round-tripped through VE
VisualEditor: Category leaks out of transclusion when round-tripped through VE
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
Data Model (Other open bugs)
unspecified
All All
: High normal
: VE-deploy-2013-07-11
Assigned To: Ed Sanders
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-27 23:23 UTC by Gabriel Wicke
Modified: 2013-07-10 23:56 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Gabriel Wicke 2013-06-27 23:23:02 UTC
Example diff:

https://en.wikipedia.org/w/index.php?title=FC_Dila_Gori&curid=6581323&diff=561887535&oldid=561367008

Works in Parsoid:

echo '{{commons category}}' | node parse --wt2wt
{{commons category}}
Comment 1 Gabriel Wicke 2013-07-10 19:37:50 UTC
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">
Comment 2 Gabriel Wicke 2013-07-10 23:55:48 UTC
This was fixed by the fix for bug 50120. The DOM produced by the {{commons category}} template is very similar to the persondata template.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links