GitXplorerGitXplorer
k

iWiki

public
5 stars
2 forks
0 issues

Commits

List of commits on branch master.
Unverified
43e2fe0f271f52b411d44e95648701d0c1432857

removed useless readme in iwiki directory

kkirb committed 13 years ago
Unverified
b3899210384ba40f63c77c614657f27de780e765

gitignoring those annoying thumbs.db

kkirb committed 13 years ago
Unverified
5edaaad29a77bd8cd1a4a76bb932a272e8423825

formatting error fixed

kkirb committed 13 years ago
Unverified
7d7d8645c620e349119b37bf134b9430251b52c7

version 2.2 - update for 1.17 coming soon

kkirb committed 13 years ago

README

The README file for this repository.

iWiki

iPhone theme for MediaWiki

Version 2.2

Discontinued

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(). I’ve decided to discontinue this as I don’t adminster a wiki any more. Try Jony instead, which you can preview live on The iPhone Wiki. This project will be kept up for archival purposes, or if someone wants to fork and continue it.

Installation

  1. cd to your MediaWiki's skins folder.
  2. git clone --recursive git://github.com/kirbylover4000/iWiki.git .
  3. rm -rf .git README.md
  4. 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, changing apple to the theme you want:

$wgTouchTheme = "apple";
  1. Test on an iDevice. Enjoy ;)

License

Licensed under the GNU General Public License, version 2.0. Refer to LICENSE.md.