MobileFrontend
From Biowikifarm Metawiki
Revision as of 09:52, 2 May 2016 by Maëva Rouxel (Talk | contribs)
Installation of MobileFrontend extension (works on Pla@ntuse)
Add the following code at the bottom of your LocalSettings.php:
require_once "$IP/extensions/MobileFrontend/MobileFrontend.php";
To see mobileFrontend of the page you can add ?userformat=mobile at the end of the url of click on "Mobile View" at the end of the page.
For mobile autodetection add in LOcalSettings.php :
$wgMFAutodetectMobileView = true;
Access to the page on a mobile will displays the mobile view.