Hi, all, I came across an issue on enwiki where an editor had moved the content of a labeled section that other pages were using labeled section transclusion to populate from. The edit in question is https://en.wikipedia.org/w/index.php?title=Western_African_Ebola_virus_epidemic&diff=prev&oldid=943623521; this change broke the labeled section transclusion that pages such as https://en.wikipedia.org/wiki/Zaire_ebolavirus use to populate case and death counts from a centralized location. (The edit also removed the line break between paragraphs.)
After reverting the change, I noticed that it was tagged as a Visual Editor tag and realized that it was likely a bug in Visual Editor rather than a conscious action on the editor's part. I enabled Visual editor and, sure enouh, was able to recreate the exact bug.
Steps to recreate:
- Navigate to https://en.wikipedia.org/wiki/Western_African_Ebola_virus_epidemic and enter the Visual Editor.
- Make an arbitrary change to the first paragraph (the original user moved the (2013-2016) to in front of the bolded text, but in my testing, even simply adding a space and then immediately deleting it triggered the bug).
- (this step isn't necessary to trigger the bug; it is jsut a way to observe the effect without saving the page) Switch to source editor and observe the changes; the <section start /> and <section end/> tags have been moved to the end of the first paragraph while leaving their content behind, which breaks the labeled section transclusion, and the line break between the first and second paragraphs have been removed. This line break has been removed from the source even though its removal was *not* reflected in the original Visual Editor screen.
I am using Firefox 68.4.1 ESR on Windows 10, with the Monobook skin. I can't say what the original editor's sstem info is, obviously.
