Last modified: 2013-10-04 00:19:23 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 T52549, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 50549 - VisualEditor: round-trip adjacent and nested annotations
VisualEditor: round-trip adjacent and nested annotations
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
Data Model (Other open bugs)
unspecified
All All
: Normal normal
: ---
Assigned To: Ed Sanders
:
Depends on: 49755 49873
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-02 03:12 UTC by Gabriel Wicke
Modified: 2013-10-04 00:19 UTC (History)
4 users (show)

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


Attachments

Description Gabriel Wicke 2013-07-02 03:12:58 UTC
VisualEditor needs to preserve adjacent (even if identical) and additive elements that it internally treats as annotations. Right now it often removes nested annotations (bug 49755) or merges adjacent annotations (bug 49873, http://en.wikipedia.org/w/index.php?title=Bose%E2%80%93Einstein_condensate&diff=prev&oldid=562481552).

Both will lead to a DOM diff and thus likely to a dirty wikitext diff.

Note that this only applies to existing content- merging identical annotations in new content is fine.
Comment 1 Gabriel Wicke 2013-07-02 05:26:31 UTC
Also, don't cut annotations. This is what I suspect happened here:
http://en.wikipedia.org/w/index.php?title=List_of_Mystery_Science_Theater_3000_episodes&diff=prev&oldid=562488147
Comment 2 James Forrester 2013-10-04 00:19:23 UTC
This has been fixed for some time in the DM. Marking as such.

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


Navigation
Links