More specifically, on section=n generates an incorrect /* … */ link in the edit summary when encounters wiki markup in the section heading. The regular action=edit§ion=n form doesn’t have this problem.
- Mentioned In
- T275178: new section automatic summary parsing does not match core/normal edits
T234982: Varying approaches to section names in edit summaries (mobile vs desktop and visual vs wikitext)
- Mentioned Here
- T234982: Varying approaches to section names in edit summaries (mobile vs desktop and visual vs wikitext)
T162017: NWE adds links in summary when section headings are linked, while OWE doesn't
Previously discussed in T162017, where we fixed handling of wiki markup for links, but not italic/bold. The italic/bold markup is much harder to handle, and we did not want to spend the effort into reimplementing parts of the wikitext parser just to create edit summaries.
The current code (ve.init.mw.ArticleTarget.prototype.restoreEditSection) has this note:
Arguably, we should just throw this through the API and then do
the same extract-text pass we do in visual mode. Would save us
having to think about wikitext here.