Page MenuHomePhabricator

Botfixup: VisualEditor shows 6 items in a list which for which MW only generates 2 items
Closed, DeclinedPublic

Description

Compare the result of the wikitext
#1

  1. # # #

#6
in the following URLs:

  1. https://pt.wikipedia.org/wiki/?oldid=36373624&veaction=edit
  2. https://pt.wikipedia.org/wiki/?oldid=36373624&action=edit&preview=yes

Visual Editor show us a list with 6 elements, but MediaWiki will only display two items.

Maybe this is related to Tidy?


Version: unspecified
Severity: normal

Details

Reference
bz51200

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:46 AM
bzimport added a project: Parsoid.
bzimport set Reference to bz51200.

It would be difficult to sanely edit undisplayed list items. We would basically have to pretend those list items were never there. They would not be editable in the VE.

While not impossible, even round-tripping of such collapsed list items would add a lot of special-case code.

So overall I am very doubtful that this would be worth it. IMO it is better to fix the wikitext, possibly with a bot. I'm closing this as wontfix for now. Please reopen if there are good reasons why correcting this with bots is not feasible.