Skip to content
This repository has been archived by the owner on Jan 2, 2018. It is now read-only.

kirb/iWiki

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

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.

Releases

No releases published

Packages

No packages published