Page MenuHomePhabricator

2017 wikitext editor doesn't load if I create a new page with preload worksheet
Closed, DuplicatePublic

Description

When I want to create a page with "preload worksheet" (I don't know the exact word in English, sorry)

  • the old editor loads (but it shouldn't)
  • if I click on the edit source button, the NWE loads but everything loses

See the video.

Event Timeline

Bencemac created this task.Aug 29 2017, 7:32 PM
Restricted Application added a project: VisualEditor. · View Herald TranscriptAug 29 2017, 7:32 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Bencemac updated the task description. (Show Details)Aug 29 2017, 7:33 PM
Deskana renamed this task from NEW dowsn't load if I create a new page with preload worksheet to 2017 wikitext editor doesn't load if I create a new page with preload worksheet .Aug 30 2017, 10:45 AM
Deskana triaged this task as Normal priority.
Deskana moved this task from To Triage to TR1: Releases on the VisualEditor board.
DLynch added a subscriber: DLynch.Sep 5 2017, 4:31 PM

Preload is explicitly unsupported by VE and 2017 wikitext:

	private static $unsupportedEditParams = [
		'preload',
		'preloadparams',
		'preloadtitle',
		'undo',
		'undoafter',
		'veswitched'
	];

We need to actually add the functionality for it.

I have https://gerrit.wikimedia.org/r/378343 in T51622 which will make this work. Could probably close this ticket as a duplicate of that one, since it's asking for the same thing.