Extract the lead infoboxes into a collapsible "Quick facts" section and position them after the lead on all screen widths (inspired by Wikipedia Apps). Part of the rationale for this experiment is that long infoboxes push the lead text down the page on narrow screens.
- Extract the infobox in PHP and add additional section
- Minerva breakpoint ~640px
- Out of scope: Minimal Minerva page chips
Design
- Prototype: https://justinscherer.github.io/minerva-prototypes/closed%20sections%20links/index.html
- Figma design spec
Requirements
- A new section heading "Quick facts" appears as the first section heading.
- All infoboxes in the lead section are moved into this new section, centered and full screen with a max width. Please test on pages with 2 infoboxes such as California to make sure both are moved.
- Infoboxes outside the lead will not be moved.
- The experience will be identical for tablet and mobile users
- The Quick facts section will be expanded by default if the user has selected "Expand all sections" in settings (Special:MobileOptions).
- Quick facts is expanded by default on wide screens similar to other sections.
- Quick facts is collapsed by default on narrow screens.
- Quick facts works on wikis that run on Parsoid and legacy parser (eg. zhwiki).







