When editing a section in VE, "[edit]" is now included in default edit summary. Example edit: https://www.mediawiki.org/w/index.php?title=MediaWiki_1.23&diff=2427063&oldid=2285796 (it's vandalism, but nevermind that, I can reproduce on that page too).
Description
Details
Related Objects
Event Timeline
I can't reproduce this happening. All I get for the VE section message is the correct /* Section title */. More details?
Oh, actually, I see it for that specific page. It's because the translate stuff is deeply confusing our expectations:
So it's building the summary of the section-heading... which as far as it can tell legitimately has some text saying "[edit]" within it.
Yes, this is user mis-action by writing <translate>== Foo ==</translate> instead of == <translate>Foo</translate> == like they're meant to, but we need to work around it (until a DOM-based system for Translate comes along in the magical future).
A fairly easy fix would be to strip links from the section-heading when building the summary.
Change 343901 had a related patch set uploaded (by DLynch):
[mediawiki/extensions/VisualEditor] Section editing: strip links from heading text used for edit summary
Change 343901 merged by jenkins-bot:
[mediawiki/extensions/VisualEditor@master] Section editing: strip links from heading text used for edit summary