Changes

Jump to: navigation, search

Installing Mediawiki 1.27 on FreeBSD 11.1

672 bytes added, 13:59, 19 June 2018
Enable mobile support
== Enable mobile support ==
 
Make sure you have wget installed:
 
sudo pkg install -y wget
 
Make sure you have permissions to add mediawiki extensions:
 
sudo chown root:staff /usr/local/www/mediawiki/extensions
sudo chmod g+w /usr/local/www/mediawiki/extensions
 
Download [https://www.mediawiki.org/wiki/Extension:MobileFrontend MobileFrontend] extension and extract it:
 
wget https://extdist.wmflabs.org/dist/extensions/MobileFrontend-REL1_27-717861c.tar.gz
tar -xzf MobileFrontend-REL1_27-717861c.tar.gz -C /usr/local/www/mediawiki/extensions
 
Edit <code>LocalSettings.php</code> to enable it (append it at the bottom):
 
wfLoadExtension( 'MobileFrontend' );
$wgMFAutodetectMobileView = true;

Navigation menu