Last modified: 2012-11-09 20:26:17 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 T40734, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 38734 - VisualEditor: Table roundtripping is completely tripped up
VisualEditor: Table roundtripping is completely tripped up
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
Data Model (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Roan Kattouw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-07-27 00:02 UTC by Krinkle
Modified: 2012-11-09 20:26 UTC (History)
4 users (show)

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


Attachments

Description Krinkle 2012-07-27 00:02:13 UTC
Several issues:

* Ghost <nowiki></nowiki> tag pairs appearing

* Syntax being normalized

 1)
  ! foo !! bar !! baz
  becomes
  ! foo
  ! bar
  ! baz

  Both are the same but should roundtrip if possible.

 2)
  Row separators
  {|
  |-
  ! foo
  |-
  | bar
  |-
  |}
  becomes:

  {|
  ! foo
  |-
  | bar
  |}

  Although the first and last separator (|-) are optional, they should roundtrip
  if possible.

 3) Syntax being broken due to new line insertion
  ! foo !! bar !! baz
  becomes:
  ! foo
  !! bar
  !! baz

  This is not just syntax appearance, this is actually broken. Because of the new lines, the output of 3) is actually difference, because it will display the second exclamation mark of each heading.



Example: https://www.mediawiki.org/w/index.php?title=VisualEditor%3ADoom&diff=565804&oldid=565802
Comment 1 Gabriel Wicke 2012-07-27 00:43:57 UTC
This round-trips just fine when tested at http://parsoid.wmflabs.org/_rtform/. Looks like a known VE data model issue which causes round-trip attributes to be lost. Same root issue as bug 38738.
Comment 2 Roan Kattouw 2012-11-09 20:26:17 UTC
Whatever caused this, it's fixed now. I just edited the VisualEditor:Doom page, which still has the same table on it, and the diff isn't dirty.

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


Navigation
Links