Changes
Jump to navigation
Jump to search
Test Web Server Documentation (view source)
Revision as of 16:56, 25 January 2016
, 16:56, 25 January 2016→Responsive Design (1/25/16)
== Responsive Design (1/25/16) ==
According to [https://www.mediawiki.org/wiki/Manual:Mobiles,_tablets_and_responsive_design this mediawiki page], the extension that makes Wikipedia look pretty on mobile/tablet is called [https://www.mediawiki.org/wiki/Extension:MobileFrontend MobileFrontend] (and it requires another extension called [https://www.mediawiki.org/wiki/Extension:Mantle Mantle] for Mediawiki versions 1.24 or older). Since the extension only serves up downloads for MW 1.19 or newer, I have to test this on the test webserver (MW 1.26). As with the LST extension, the installation of the extension is pretty standard stuff: wget the tarball, untar it, and copy it to the extensions directory: $ cd ~/Downloads $ wget https://extdist.wmflabs.org/dist/extensions/MobileFrontend-REL1_26-187dae8.tar.gz $ tar -xzvf MobileFrontend-REL1_26-187dae8.tar.gz $ cd /var/lib/mediawiki/extensions $ cp -r ~/Downloads/MobileFrontend ./MobileFrontend Then, per the installation instructions on the [https://www.mediawiki.org/wiki/Extension:MobileFrontend#Installation extension page], add these two lines to LocalSettings.php: require_once "$IP/extensions/MobileFrontend/MobileFrontend.php"; $wgMFAutodetectMobileView = true;
== To-do list ==
* Short URLs (goal is to get the URL to look like www.mcnaircenter.org/wiki/Page_Title)