- 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
Observe that the page reloads before the editor loads
| Subject | Repo | Branch | Lines +/- | |
|---|---|---|---|---|
| Fix isOnlyTab(VE|Wikitext) on multi-edit tab wikis | mediawiki/extensions/VisualEditor | master | +23 -2 |
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
Change #1217165 merged by jenkins-bot:
[mediawiki/extensions/VisualEditor@master] Fix isOnlyTab(VE|Wikitext) on multi-edit tab wikis