Page MenuHomePhabricator

section=new links opening in VE
Closed, ResolvedPublic

Description

section=new links should always load in source mode, but if you have VE as your default editor, it seems they are trying to load in VE:

  1. Ensure your default editor is VE, and that you aren't using two edit tabs
  2. Open https://www.mediawiki.org/wiki/Gerrit/New_repositories/Requests
  3. Click "Request"

You should get a wikitext editor, and never VE

Event Timeline

• matmarex changed the task status from Open to Stalled.Aug 9 2023, 6:33 PM

I can't reproduce this, but see T223369.

• matmarex changed the task status from Stalled to Open.Jan 14 2025, 1:56 AM

I can reproduce with this URL: https://www.mediawiki.org/w/index.php?title=Gerrit/New_repositories/Requests&action=edit&preload=Gerrit/New_repositories/Request_preload&editintro=Gerrit/New_repositories/Request_preload_intro&nosummary=true&section=new

This should open the wikitext editor for a new section, but if you're using single edit tab set to "Remember…" or "Always give me the visual editor…", it will open the visual editor for the whole page.

Change #1110895 had a related patch set uploaded (by Bartosz Dziewoński; author: Bartosz Dziewoński):

[mediawiki/extensions/VisualEditor@master] Error out when trying to load new section editing in visual mode

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

Change #1110896 had a related patch set uploaded (by Bartosz Dziewoński; author: Bartosz Dziewoński):

[mediawiki/extensions/VisualEditor@master] Always use wikitext mode when loading with section=new

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

Change #1110895 merged by jenkins-bot:

[mediawiki/extensions/VisualEditor@master] Error out when trying to load new section editing in visual mode

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

Change #1110896 merged by jenkins-bot:

[mediawiki/extensions/VisualEditor@master] Always use wikitext mode when loading with section=new

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