Page MenuHomePhabricator

The preload URL Parameter Fails in MinervaNeue if JavaScript is Running
Closed, DuplicatePublic

Description

I am trying to create a new pages using the preload parameter. My expected behavior is an editing window appears with the content from Template:Example already inside the editing box. This example assumes Template:Example is already created and contains content and that the article Test does not already exist.

index.php?title=Test&action=edit&preload=Template:Example

The link works fine in Vector and I get my expected behavior.

The link works fine in MinervaNeue if JavaScript has been disabled.

The link fails in MinervaNeue if JavaScript is enabled. The initial page loads fine before a JavaScript function changes the page's display to a full screen editor without any preloaded content.

Event Timeline

Yup, I noticed this bug too. The mobile JS editor loads and ignores certain parameters in the URL. (eg. oldid, and preload). CC @Jdlrobson

Is this mobile or desktop? If mobile that's intentional as the mobile editor doesnt support these parameters, if desktop then likely an implementation bug. Adding editing team/VisualEditor project who are experts on all things editor related.

Is this mobile or desktop? If mobile that's intentional as the mobile editor doesnt support these parameters, if desktop then likely an implementation bug. Adding editing team/VisualEditor project who are experts on all things editor related.

I get that it's intentional. But on mobile editors are forced to use the JS editor. It would be nice if I could disable the JS editor and use the form in action=edit just like desktop.