Page MenuHomePhabricator

Parsoid headings are not wrapped in div if the section is not editable
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

What happens?:

h2 is not wrapped in a div

image.png (980×2 px, 369 KB)

What should have happened instead?:

h2 should be wrapped in a div with mw-heading and mw-heading2 classes

Other information (browser name/version, screenshots, etc.):

https://wikimedia.slack.com/archives/C024Z8K9CAU/p1722291285617749
@cscott had some theories about why this is happening related to the section editing link transform

Event Timeline

Change #1057973 had a related patch set uploaded (by C. Scott Ananian; author: C. Scott Ananian):

[mediawiki/core@master] HandleParsoidSectionLinks: also run this pass if COLLAPSABLE_SECTIONS

https://gerrit.wikimedia.org/r/1057973

Change #1057973 merged by jenkins-bot:

[mediawiki/core@master] HandleParsoidSectionLinks: also run this pass if COLLAPSABLE_SECTIONS

https://gerrit.wikimedia.org/r/1057973

ABreault-WMF moved this task from Backlog to To Deploy on the Content-Transform-Team-WIP board.