HomePhabricator

Make all headings with class section-heading toggleable

Authored by Bene.

Description

Make all headings with class section-heading toggleable

The class section-heading allows headings to be collapsed
which aren't direct descendants of the #content div. This is
essential for MobileFrontend's support on Wikidata/Wikibase.
There, <h2> headings are wrapped into other divs for several
reasons but should be collapsible as well.

Bug: T95889
Change-Id: Id6d40a06b662020c2d0f03dc16bf9f23d5436952

Details