MobileFrontend sets a property on OutputPage `unstyledContent` for all mobile special pages, it provides. This is read by Minerva when deciding how to output the special page. We'd like to avoid this confusing communication between MobileFrontend and Minerva. The directive, tells Minerva to turn off the `content` class for all special pages provided inside MobileFrontend. This is likely better served by skinStyles for those particular special pages.
# TODO
- [] Update minerva.mustache to use template variables provided by core (https://www.mediawiki.org/wiki/Manual:SkinMustache.php#Template_data). Remove the usage of `unstyledContent`.
- [] Add skin styles to apply to the relevant special pages which are impacted by `unstyledContent` (see QA steps).
- [] MinervaTemplate::getContentHtml should be removed
- [] Drop contenthtml from SkinMinerva::getTemplateData
- [] Remove the setting of `unstyledContent` in SkinMinerva::prepareQuickTemplate
- [] Drop code in MobileFrontend setting `unstyledContent`
# QA
Resize browser to mobile (320px), tablet (720px) and desktop (1000px) thresholds for each of these pages **on the mobile domain**:
- Check Special:RecentChanges for UI regressions e.g. https://en.m.wikipedia.beta.wmflabs.org/wiki/Special:RecentChanges
- Check Special:Nearby for UI regressions (not Extension:Nearby version)
- Check Special:Nearby for UI regressions (not Extension:Nearby version)
- Check mobile diff page for UI regressions
- Check Special:MobileLanguages for UI regressions (make sure AMC mode is disable)
- Check Special:MobileContributions for UI regressions (make sure AMC mode is disable)
- Check Special:MobileWAtchlist for UI regressions (make sure AMC mode is disable)
- Check mobile history page for UI regressions (make sure AMC mode is disable)