Mobile
What mobile visitors get
Without MobileFrontend, Chroma is still responsive: narrow screens collapse the left navigation and constrain content.
With MobileFrontend and Chroma as the default mobile skin, mobile visitors get:
- ☰ navigation overlay;
- search collapsed to a magnifier;
- page tabs and actions in one toolbar row;
- no TOC on narrow screens;
- MobileFrontend sections expanded by default.
Setup
- Install MobileFrontend;
- Add to
LocalSettings.php:
php
wfLoadExtension( 'MobileFrontend' );
$wgDefaultMobileSkin = 'chroma';- Visit on a phone, or switch the browser UA, and check the styling.
Relationship with MinervaNeue
Chroma does not depend on MinervaNeue. With $wgDefaultMobileSkin = 'chroma';, mobile uses Chroma instead.
MinervaNeue may stay installed; it does not conflict.
Do I still need ?useskin=chroma?
No. Mobile UAs use Chroma by default. ?useskin=chroma is only for forcing Chroma on a desktop UA.
Still seeing the old mobile skin?
- Confirm
$wgDefaultMobileSkin = 'chroma';is active; - confirm MobileFrontend is loaded;
- clear cookies and cache;
- check
Special:Versionfor Chroma; - check whether another MobileFrontend setting overrides the default skin.
Without MobileFrontend
Chroma works responsively on its own; MobileFrontend only adds mobile detection and mobile-specific features.