Using this URL: https://en.wikipedia.org/w/index.php?title=Wikipedia_talk:WikiProject_COVID-19§ion=new&veaction=editsource
should not be able to produce these results:
The edit conflict auto-resolved.
Using this URL: https://en.wikipedia.org/w/index.php?title=Wikipedia_talk:WikiProject_COVID-19§ion=new&veaction=editsource
should not be able to produce these results:
The edit conflict auto-resolved.
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Fix new section title when switching from NWE to OWE | mediawiki/extensions/VisualEditor | master | +14 -5 |
Okay, so I found the code causing this – when switching from NWE in section=new mode to the old wikitext editor (e.g. when we need to resolve an edit conflict), we incorrectly send the generated edit summary in the parameter that should contain only the heading text. I can fix that.
The real enigma here for me is, how did you manage to get an edit conflict while posting a new section? I thought that is not possible.
Also, I found this old task where the same issue happens, but apparently there was no edit conflict or editor switching involved: T163370. The plot thickens.
Change 583146 had a related patch set uploaded (by Bartosz Dziewoński; owner: Bartosz Dziewoński):
[mediawiki/extensions/VisualEditor@master] Fix new section title when switching from NWE to OWE
Change 583146 merged by jenkins-bot:
[mediawiki/extensions/VisualEditor@master] Fix new section title when switching from NWE to OWE
There are no "normal" reproduction steps for this (unless @Whatamidoing-WMF knows how it happened?), but I've been testing it by running ve.init.target.onSaveDialogResolveConflict() in the browser console after opening the save dialog (which will open the edit conflict screen, or immediately save your changes if there is no actual conflict).