The default appearance of MediaWiki can be changed to better represent your wiki site. The themes in mediawiki are called skins. Skinning the MediaWiki site is necessary in order to customize the site to your personal preferences. This article will explain how to change the skin and to upload a free skin in MediaWiki.

Default MediaWiki skins

MediaWiki has 9 skins built into teh default installation available for use. The included MediaWiki skins are:

  • Chick
  • Classic
  • Cologne Blue
  • Modern
  • MonoBook
  • MySkin
  • Nostalgia
  • Simple
  • Vector (the default)

In the following section, we will switch the default vector them to the nostalgia and the modern theme.

How do I change the MediaWiki Default skin?

  1. Log into cPanel and Navigate to your File manager select the MediaWiki install folder and click Go.
  2. Navigate to the following file in your MediaWiki installation directory.

    /public_html/mediawiki/LocalSettings.php

    Open the file in the code editor.

  3. MediaWiki Vector skin codeFind the following line in your LocalSettings.php file.

    $wgDefaultSkin = "vector";

  4. MediaWIki Modern skin codeTo change the skin to "the modern skin", change the code to the following and save the changes.

    $wgDefaultSkin = "modern";

    MediaWiki Modern Skin previewNow the MediaWiki site will look like the snapshot to the right.

  5. MediaWiki Nostalgia codeNow try the nostalgia skin. Type the following in the code and save the page.

    $wgDefaultSkin = "nostalgia";


    MediaWiki Nostalgia skin previewNow you should see the familiar yellow base skin.

Uploading and Installing a free skin

MediaWiki skins can be downloaded for free as well. Instead of using the basic skins, you can download free templates from various free sites. This tutorial will use the free template from Go media wiki.

This free theme can be downloaded here. The downloaded file will be called:

naumenko-GMW-Free-Skin-e6b5fd4.zip

 Steps to upload a free theme in MediaWiki

  1. Log into cPanel and go to the file manager and select your mediawiki folder location and click Go.
  2. Navigate to public_html/mediawiki/skins
  3. Upload the naumenko-GMW-Free-Skin-e6b5fd4.zip file
  4. GMW Free Theme file manager viewExtractthe files and move the following files and folders to the skins folder location so it looks like the snapshot to the right.

    gmwfreeblue
    gmwfreegreen
    gmwfreered
    COPYING
    GMWFreeBlue.php
    GMWFreeGreen.php
    GWMFreeRed.php
    README

  5. MediaWiki gmwfreeblue theme codeTo change thye current theme to the blue theme, edit the LocalSettings.php file and change the $wgDefaultSkin to the following.

    $wgDefaultSkin = "gmwfreeblue";

    MediaWiki gmwfreeblue theme previewNow the Template will look like the snapshot to the right.

Like this Article?

Login to comment.

Your Opinion Matters

... but we need to know what you're thinking!

I'm James Richardson, your friendly Community Support technician, and I wrote the article you're looking at now. I like to think it's perfect, but I'm sure you have some suggestions. Please, let me know what they are!

Feedback
Your Email Address
Because we'd like to talk with you!

Latest Questions

If you need some help, submit your question to our Community!
We guarantee a response within 60 minutes (8am - 9pm EST, Monday - Friday)
Ask a Question!
Recent Questions
  1. My registrar (register.com) has 4 DNS values. How do I change them to InMotion with only 2 values?
  2. MX records to set at another registrar?
  3. Merchant Account/Payment Gateway Requirements?

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!