Page MenuHomePhabricator

Generated edit summary filters remove tag-like section headers
Open, LowestPublic

Description

On MediaWiki 1.28, editing a section whose name contains HTML-tag-like names does not generate a sensible default edit summary.
Suppose the section you are trying to edit is named "<foo>, <bar>" (with foo and bar not being valid HTML tags). Then the auto-generated edit summary is "/* , */", which is not very useful.

Event Timeline

Mainframe98 renamed this task from Generated edit summry filters away tag-like section headers to Generated edit summary filters remove tag-like section headers.Jul 13 2017, 3:14 PM
Aklapper triaged this task as Lowest priority.Jul 13 2017, 3:20 PM
Krinkle subscribed.

(Re-tagging as MediaWiki-Page-editing because the code for the behaviour described in this task does not exist in the software components behind comments; rather it resides in the software component that uses the comment backend, which is the EditPage handler in this case.)

Ammarpad subscribed.

These tags (and content between them) are explicitly removed by Parser even before the section name is sent to EditPage.