Manual:Mobiles, tablets and responsive design



MediaWiki will work on many mobile devices (ie. smartphones and tablets), but it is not optimized for mobile devices.

Unless you add additional skins or extensions, this means that sites may be difficult to view, with menus, layouts and media, not appearing in the best place.

None of the skins bundled with MediaWiki, including the latest default skin, skin>Special:MyLanguage/Skin:Vector|Vector, are optimized for use with mobiles.

This page provides advice for using MediaWiki on mobile devices, such as smartphones and tablets.

Extensions

 *  (MW 1.22+) Simple app that serves styles and scripts for use in the Wikimedia mobile applications
 *  (Release for MediaWiki ≤ 1.24 of MobileFrontend requires the extension: Extension:Mantle) (1.23+) Provides a mobile-friendly view. Developed by Wikimedia, and used on Wikipedia. Installing only this extension by itself, will make your Mediawiki site mobile-friendly, and it includes its own skin.

Skins
You do not require an extension if you use a skin. Skins for use with mobile browsers come in two forms:
 * 1) Those designed specifically for use with a mobile, and may not view well on non-mobile devices. MediaWiki detects the kind of device on which it is running, and then switches to the appropriate skin. (See Extension:MobileDetect)
 * 2) skin>Skin:WPtouch|WPtouch (MW 1.17+): A skin which formats your wiki with a mobile theme
 * 3) Responsive skins, which are designed to respond automatically to the size of the screen, regardless of whether it is a desktop PC, tablet or smartphone.
 * 4) skin>Skin:Tweeki|Tweeki (MW 1.25+): optimized for Semantic wikis
 * 5) skin>Skin:Chameleon|Chameleon (MW 1.22+): customisable with five different layouts
 * 6) skin>Skin:Metrolook|Metrolook
 * 7) skin>Skin:Refreshed|Refreshed (MW 1.19+): uses responsive CSS to adapt to mobile devices
 * 8) skin>Skin:Foreground|Foreground (MW 1.18+): supports responsive ([http://foreground.thingelstad.com/wiki/Main_Page</> website])
 * 9) ...category>:Category:Mobile skins</>|and more!

CSS & JS
When using <tvar|ext-mobfe></>, you can edit <tvar|css>MediaWiki:Mobile.css</> and <tvar|js>MediaWiki:Mobile.js</> for global styles and scripts to be applied only on mobile.

Developers
See also: mob-friendly>Making MediaWiki Mobile Friendly</>|Making MediaWiki Mobile Friendly
 * <tvar|cat-mob>Category:Mobile</>: Projects, extensions and other pages related to Mobile device development and presentation.
 * <tvar|mon-engineering></>: responsible for creating, growing, and evolving how the diverse set of Wikimedia projects use mobile technologies
 * <tvar|wgResponsiveImages></> (MW 1.21+): Whether or not to output high-resolution images for high-DPI displays.
 * <tvar|ext-mobdetect>Extension:MobileDetect</> (MW 1.15+): allows users to control which content is displayed only in mobile browsers, or only on desktops
 * mob-design>Mobile design</>|Mobile design: the central page for all mobile design projects (historical)
 * <tvar|category>Category:Mobile skins</>: Skins for mobile devices