Page MenuHomePhabricator

On single edit tab wikis, if your browser is non-JS but your settings say VE you get a blank edit page and no way to fix it
Closed, ResolvedPublic1 Estimated Story Points

Description

Simulated by switching off JS in Chrome.

Related Objects

StatusSubtypeAssignedTask
OpenNone
In ProgressTrizek-WMF
OpenNone
OpenNone
OpenNone
OpenNone
OpenReleaseNone
ResolvedKrenair
Resolved AlexMonk-WMF
OpenNone
ResolvedKrenair
OpenNone
OpenNone
OpenNone
OpenNone
ResolvedKrenair
ResolvedKrenair
ResolvedKrenair

Event Timeline

Jdforrester-WMF assigned this task to Krenair.
Jdforrester-WMF raised the priority of this task from to Medium.
Jdforrester-WMF updated the task description. (Show Details)
Jdforrester-WMF edited a custom field.
Jdforrester-WMF moved this task from To Triage to TR1: Releases on the VisualEditor board.

So we give this blank page because of concerns that by loading VE on the top of action=edit, we'd be sending the revision text twice. The server expects the client to load VE, which the client-side code should handle - but it might not actually run that code.

Maybe we should provide some sort of link like 'Click here if the visual editor does not appear to force use of the wikitext editor', which sets their cookie/pref to wikitext and (if logged in) preference to always prefer wikitext, and loads the wikitext editor?

Jdforrester-WMF subscribed.

[Discussed in IRC; we need to have a JS-less way to redirect the editor without having to interact.]

Might be able to put a meta refresh in a noscript tag.

Change 259771 had a related patch set uploaded (by Alex Monk):
SET: Set user's editor to wikitext if the browser doesn't do JS

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

Change 259771 merged by jenkins-bot:
SET: Set user's editor to wikitext if the browser doesn't do JS

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