Page MenuHomePhabricator

Wrong list type used in visual diff
Closed, ResolvedPublic

Description

In this visual diff: https://pl.wikipedia.org/w/index.php?title=Wikipedia:VisualEditor&diff=prev&oldid=68894821&diffmode=visual

image.png (2×3 px, 467 KB)

The bullet points display incorrectly, because the list uses <li> elements nested in <dl>. They should be nested in <ul> instead.

(It seems that the <dl> is somehow getting transplanted from a nested list that correctly uses <dd> and <dl>.)

Expected rendering:

image.png (2×3 px, 522 KB)

Event Timeline

Change 973375 had a related patch set uploaded (by Bartosz Dziewoński; author: Bartosz Dziewoński):

[VisualEditor/VisualEditor@master] List diffs: Fix overwriting top-level list when nested item added

https://gerrit.wikimedia.org/r/973375

Change 973375 merged by jenkins-bot:

[VisualEditor/VisualEditor@master] List diffs: Fix overwriting top-level list when nested item added

https://gerrit.wikimedia.org/r/973375

Change 974219 had a related patch set uploaded (by Esanders; author: Esanders):

[mediawiki/extensions/VisualEditor@master] Update VE core submodule to master (5a692bdf1)

https://gerrit.wikimedia.org/r/974219

Change 974219 merged by jenkins-bot:

[mediawiki/extensions/VisualEditor@master] Update VE core submodule to master (5a692bdf1)

https://gerrit.wikimedia.org/r/974219

matmarex claimed this task.