You are left with a blank page and the URL is changed to look like you are reading the page...
I guess we should attempt to fall back to the wikitext editor somehow in this case?
I'm getting increasingly worried about all the different ways the "suppress wikitext editor if we expect VE to load over the top of it immediately" CustomEditor hack could break. :/
Description
Description
Details
Details
Related Changes in Gerrit:
| Status | Subtype | Assigned | Task | |
|---|---|---|---|---|
| · · · | ||||
| Resolved | Krenair | T58337 Change VE integration to only use one edit tab, to avoid user choice paralysis | ||
| Resolved | Krenair | T125998 In single edit tab mode, when you load VE directly by browsing to action=edit, and it fails to load, bad things happen | ||
| · · · |
Event Timeline
Comment Actions
Fallback to WT if VE fails to load seems better than falling back to read mode (and much better than an infinite look or a blank page, yes).
Comment Actions
So, I think we can do this: When we detect failure to load on action=edit but there's no #wpTextbox1 on the page, change location to the current URL with &veswitched=1
This should avoid setting any cookies/preferences, and not interfere with WTE->VE switch failures.
Comment Actions
Change 270440 had a related patch set uploaded (by Alex Monk):
Try to switch into the wikitext editor automatically if there is an error loading VE on action=edit
Comment Actions
Change 270440 merged by jenkins-bot:
Try to switch into the wikitext editor automatically if there is an error loading VE on action=edit