Difference between revisions of "MobileFrontend"
From Biowikifarm Metawiki
Maëva Rouxel (Talk | contribs) (Created page with "Installation of MobileFrontend - works on Pla@ntuse <blockquote> Add the following code at the bottom of your LocalSettings.php: require_once "$IP/extensions/MobileF...") |
Maëva Rouxel (Talk | contribs) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | Installation of MobileFrontend | + | Installation of MobileFrontend extension (works on Pl@ntuse) |
− | |||
Add the following code at the bottom of your LocalSettings.php: | Add the following code at the bottom of your LocalSettings.php: | ||
require_once "$IP/extensions/MobileFrontend/MobileFrontend.php"; | require_once "$IP/extensions/MobileFrontend/MobileFrontend.php"; | ||
+ | |||
+ | To see mobileFrontend of the page you can add ?useformat=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; | $wgMFAutodetectMobileView = true; | ||
− | + | Access to the page on a mobile will displays the mobile view. |
Latest revision as of 09:53, 2 May 2016
Installation of MobileFrontend extension (works on Pl@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 ?useformat=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.