If you visit https://en.m.wikipedia.org/wiki/Barack?redirect=no&mobileaction=beta you'll see a "redirect page" subtitle in the top of the article
Various extensions add HTML here - examples include subpages on MediaWiki.org (e.g. Reading/Web on mediawiki.org and breadcrumbs on Wikivoyage (at top of page South east Asia > Singapore )
These do not work too well with AMC appearing to the right of tabs
Let's move these to a more appropriate position and make some styling tweaks for both AMC and standard mode.
Acceptance criteria
- Move subtitle below page actions
- Add a top margin
Mockups available in T217197#4992081
Developer notes
These are outputted in minerva.mustache by
{{{subtitle}}}
which comes from MinervaTemplate->data which is populated inside prepareQuickTemplate which contains an all powerful hook that many extensions exploit....
We will move these above #bodyContent and below heading-holder
<div class="pre-content heading-holder"></div> <div class="pre-content subtitle">subtitle goes here</div> <div id="bodyContent">
We should add a margin-top/bottom of 10px