Page MenuHomePhabricator

2017 WTE doesn't load without refresh on multi-edit tab wiki talk pages
Closed, ResolvedPublic

Description

  • Visit the talk page on a wiki where two edit tabs are usually show.
  • Ensure 2017 WTE is enabled
  • Try to load the editor

Observe that the page reloads before the editor loads

Event Timeline

In DesktopArticleTarget.init.js we have a branch for multi edit tab and a branch for single edit tab. We skin the mult-branch because visual mode isn't available, but then in the single edit tab branch we check isOnlyTabWikitext which returns false because that function onyl returns true on a single edit tab wiki.

Change #1217165 had a related patch set uploaded (by DLynch; author: Esanders):

[mediawiki/extensions/VisualEditor@master] Fix isOnlyTab(VE|Wikitext) on multi-edit tab wikis

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

Change #1217165 merged by jenkins-bot:

[mediawiki/extensions/VisualEditor@master] Fix isOnlyTab(VE|Wikitext) on multi-edit tab wikis

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

Esanders renamed this task from 2017 WTE doesn't load withouth refresh on multi-edit tab wiki talk pages to 2017 WTE doesn't load without refresh on multi-edit tab wiki talk pages.Dec 10 2025, 3:54 PM
EAkinloose edited projects, added Verified; removed Editing QA.