top
 

News

Navigation Hosting Plans Domain Registration Software e-Commerce Hosting Plans Contact D & M Computer Service

MediaWiki Tutorials

MediaWiki Tutorial
MediaWiki Installation
MediaWiki Documentation
Change Page Name
Add Links
Sections, Categories
Edit Posts
MediaWiki Skins
MediaWiki Extensions
Images in MediaWiki
Math in MediaWiki
Other Tutorials

Mediawiki Skins

How to change Skins/Templates

You can change the Logo of your wiki by altering the $wgLogo variable in ../../includes/DefaultSettings.php to the name of the image you want to use as a logo.

Important Please note that this logo should be placed in the /skins/common/images/ folder.

Create MediaWiki Skin

You can create a skin all by yourself by following the steps provided below:

  • Go to the /skins folder within your Mediawiki directory;
  • Copy the /monobook directory and rename it with the name of your skin, for example:

    mywikiskin;

  • Copy the MonoBook.php file and rename it with the name of your skin, for example:

    MyWikiSkin.php;

  • Edit MyWikiSkin.php and change the class name to SkinMyWikiSkin, for example:

    class SkinMyWikiSkin extends SkinTemplate;

  • In MyWikiSkin.php, change make the other class to have your skin name together with the word Template, for example:

    class MyWikiSkinTemplate extends Quick Template;

  • In MyWikiSkin.php, make $this->skinname to have a string value of your skin name, for example:

    'mywikiskin';

  • In MyWikiSkin.php, make $this->template to have a string value of your skin name properly capitalized with the word Template, for example:

    'MyWikiSkinTemplate';

  • In your /mywikiskin directory edit the image and CSS files;
  • Edit and customize MyWikiSkin.php as you please;
  • In LocalSettings.php set

    $wgDefaultSkin = 'mywikiskin'

You can now enjoy the new skin you have prepared!

Other helpful Links



Web Design only Business Marketing Internet Marketing
Web Hosting only Search Engine Optimization Design Site yourself
Web Design & Hosting e-Business Solutions Web Application Development
e-commerce Solution Website Builder FAQ's Tutorials



RJL International Inc.

Here are a few qualifications
our design team has to offer.
Certified International Webmasters

Dreamweaver certified
Joomla Designer
Certified Search Engine Optimization
Certified in Anti Spam protection
Cold Fusion Designers


Discover Card
Visa Card
Master Card

Copyright © 1997 - 2008 D & M Computer Service. All rights reserved RJL International, Inc.

Navigation sitemap Privacy Terms Software Domains D&M Computer Service Hosting