Steps to replicate the issue (include links if applicable):
Visit https://ru.m.wikipedia.org/wiki/Заглавная_страница and remove the style for headings that fixes them from display: flex to display: block
What should have happened instead?:
Seems like somewhere in the heading HTML changes the following style was added:
.content .mw-parser-output .mw-heading, .content .mw-parser-output h1, .content .mw-parser-output h2, .content .mw-parser-output h3, .content .mw-parser-output h4, .content .mw-parser-output h5, .content .mw-parser-output h6 { display: flex; }
This is probably caused by T365736: Roll out new heading markup to Vector legacy and Minerva skins..
It is too broad and ends up affecting all headings on the page, including ones that do not get affected by heading HTML changes in T13555: .mw-editsection links should not be part of the <h#> element since they do not affect <h1>s, <h2>s etc. with attributes present. Seems like the style should be limited just to .mw-heading and not to all heading-style elements since any presence of links etc. in them ends up messing up the headings entirely. I assume this has broader consequences than just ruWP’s main page (where I fixed this).
QA steps
Test 1
- Visit https://ru.m.wikipedia.org/wiki/%D0%97%D0%B0%D0%B3%D0%BB%D0%B0%D0%B2%D0%BD%D0%B0%D1%8F_%D1%81%D1%82%D1%80%D0%B0%D0%BD%D0%B8%D1%86%D0%B0
- Uncomment this rule:
Expected:
The heading (Избранная статья) should span 2 lines like so:
Test 2
Expected:
Should be a space between "proferentem" and "rule"
Test 3
Expected:
space between "of" and "A Quiet Place"
QA Results - PROD
AC | Status | Details |
---|---|---|
1 | ✅ | T367468#9901613 |
2 | ✅ | T367468#9901613 |
3 | ✅ | T367468#9901613 |