mediawiki-extensions-Discus.../tests/cases/for-parser-cache
Bartosz Dziewoński 04cfffe323 Move visualenhancements metadata and some buttons outside of <h2>
We wrap a `<div>` tag around the `<h2>`, and move some elements there.
The markup is inspired by and compatible with my proposal for T13555.

The "ext-discussiontools-init-section" class is moved to the `<div>`.

A small patch is needed in MobileFrontend to preserve the section
collapsing functionality: I11bff21e81046898ca63f3f432797129fa70ad88.

The following elements are now outside of `<h2>`:
* Metadata bar
* Subscribe button
* Ellipsis menu (only shown on mobile)

The following elements are sadly still inside of `<h2>`:
* Subscribe links (only shown on desktop)
* Section edit links from MediaWiki core
Trying to move them mucks up the CSS too much. I hope we can resolve
this later as a part of the work on T13555.

Depends-On: I11bff21e81046898ca63f3f432797129fa70ad88
Bug: T314714
Change-Id: I0bbdcfa02c334858737855349d7a35746de1d8f2
2022-11-10 23:35:40 +01:00
..
for-parser-cache-formatted-desktop.html Move visualenhancements metadata and some buttons outside of <h2> 2022-11-10 23:35:40 +01:00
for-parser-cache-formatted-mobile.html Move visualenhancements metadata and some buttons outside of <h2> 2022-11-10 23:35:40 +01:00
for-parser-cache.html CommentFormatter: Fix inserting placeholder heading marker 2021-02-24 20:32:48 +01:00