Extension:MobileFrontend/Configuration

MobileFrontend supports various configuration options that you can define in LocalSettings.php after calling .

Translations of the configuration options can be found on wiki.

Note that for a simple site adding  might be all you need to make it Just Work™.

Configuring mobile browser auto detection
See /Configuring browser auto-detection

Configuring a skin
At time of writing, MobileFrontend is packaged up with the Minerva skin.

You can override this by using the config flag  $wgMFDefaultSkinClass

By default this is configured to:

Enable Nearby
MobileFrontend provides the Special:Nearby page with a little configuration. To get this to work a few optional steps are required:

Alternatively you can use an alien MediaWiki instance for Nearby with the following 2 lines in your LocalSettings. The nearby endpoint will be used to find related content to a given location.
 * Due to browser security you will need to be running a secure site over SSL - it is not possible to request a users location over http
 * Install GeoData
 * Run update.php
 * in LocalSettings.php add $wgMFNearby = true;
 * Add data to your articles to one or more pages   see the documentation for GeoData for syntax details