Posted by Krishnan in
Howto,
Mediawiki on 9-11-2008 |
no responses
Unlike wordpress users who are spoilt for choices, there aren’t really many good skin options for mediawiki users.
There are not many sites that distribute mediawiki skins.
Wikimedia has a few skins and Mediawiki2u.com has another few. If you google hard enough, you can find a few more sites out there.
- Lets us say we want to install a theme whose name is bluetheme.
- Down load your mediawiki skin. It is usually a zip/rar/tgz archive. bluetheme.zip/bluetheme.rar/bluetheme.tgz
- Unzip the archive to a local folder and examine it.
- Usually, the .php files for the theme are in provided along with the theme.
- In this case you should have two files called bluetheme.php and bluetheme.deps.php and all other files should be in a subfolder bluetheme.
- Upload bluetheme.php, bluetheme.deps.php and the blue themes subfolder to the /skins folder your mediawiki directory.
- To activate the theme that was just uploaded you will need to modify your LocalSettings.php file in the / folder of your mediawiki installation.
- Open LocalSetting.php in a text editor. Locate the text “$wgDefaultSkin = ‘monobook’;” and replace it with “$wgDefaultSkin = ‘bluetheme’;”
- Clear your browser cache and refresh the site to see the new theme.
In case bluetheme.php is not a part of the theme you downloaded, you can manually create it by editing the existing files. For more detailed instructions, read this.
Related posts:
- Howto: Change a menu in excel based on user input from another menu
- How to: Carry Wikipedia content on a USB pen drive
- links for 2010-08-20