Version 2.2
This theme will not work with MediaWiki 1.17 or later, instead it will just show the PHP error Call to undefined method Skin::makeGlobalVariablesScript()
. Stay tuned and watch this repo as an update will be coming soon.
-
cd
to your MediaWiki'sskins
folder. -
git clone git://github.com/kirbylover4000/iWiki.git .
-
git submodule init
thengit submodule update
-
rm -rf .git README.md
-
Open your
LocalSettings.php
and add the following code:if (preg_match("/mobile|ipad|iphone|ipod|blackberry|opera mini|opera mobile|nokia|windows phone|android/i", $_SERVER['HTTP_USER_AGENT'])) { $wgDefaultSkin = "iwiki"; }
Optionally, you can also install a jQTouch theme to your
skins/iwiki/jqtouch/themes
folder and set it as default like so, changingapple
to the theme you want:$wgTouchTheme = "apple";
-
Test on an iDevice. Enjoy ;)