VisualEditor: VE won't load on empty page containing only a magic word
Closed, ResolvedPublic

Description

Try and edit this version of my sandbox http://it.wikipedia.org/w/index.php?title=Utente:Elitre_(WMF)/Sandbox&oldid=59706098 which is empty except for a NOINDEX ; VE just keeps loading and won't allow to edit. Happens at least with Vector on Chrome and Monobook on FF.


Version: unspecified
Severity: normal

bzimport set Reference to bz50289.
Elitre created this task.Via LegacyJun 27 2013, 2:42 PM
Catrope added a comment.Via ConduitJun 27 2013, 4:16 PM

This happens because the converter generates a document with only an alienMeta (the magic word) and an empty internal list. The logic for generating an empty paragraph to prevent an empty document doesn't kick in if the document is non-empty from the converter's perspective but only contains meta items.

gerritbot added a comment.Via ConduitJul 15 2013, 11:08 AM

Change 73745 had a related patch set uploaded by Esanders:
Extend empty document check to check for meta-only data

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

gerritbot added a comment.Via ConduitJul 15 2013, 4:18 PM

Change 73745 merged by jenkins-bot:
Extend empty document check to check for meta-only data

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

Jdforrester-WMF added a comment.Via ConduitJul 15 2013, 4:19 PM

Fixed in the above commit, which we will push out today.

Add Comment