getChangeType is used for both automatic summaries and automatic change tags. While having just a single type is great for the automatic summary logic, it isn't good for the logic to automatically add change tags, since multiple tags can be valid. Specifically, while most of the tags shouldn't be combined, since they are either mutually exclusive or one implies the other (blanking the page includes removing a redirect, creating a new page that is a redirect includes creating a new page) content model change can be combined with the others
Description
Details
Event Timeline
Change 679448 had a related patch set uploaded (by DannyS712; author: DannyS712):
[mediawiki/core@master] ContentHandler: add multiple automatic tags to edits if needed
When this is fixed, a test in Linter extension will need an update. See https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Linter/ /761070/13/tests/phpunit/SpecialLintErrorsTest.php#157
Change 766872 had a related patch set uploaded (by Sbailey; author: Sbailey):
[mediawiki/extensions/Linter@master] Delete lint errors when blank page saved while changing content type
Lint errors are now being deleted during save of a blank page while the content model is being changed.
https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Linter/ /766872
Change 766872 merged by jenkins-bot:
[mediawiki/extensions/Linter@master] Delete lint errors when blank page saved while changing content type