Book Image

MediaWiki Skins Design

Book Image

MediaWiki Skins Design

Overview of this book

Table of Contents (16 chapters)
MediaWiki Skins Design
Credits
About the Author
About the Reviewer
Preface

Chapter 2. Formatting the Body

In this chapter, we will see how to change the appearance of your wiki. This includes the various content areas of MediaWiki such as the article pages, the edit interface, and the preview interface.

In this chapter, we will cover the following:

  • Adding a new skin in MediaWiki, with guidance on setting your new skin as:

    • the wiki's default skin

    • your default skin

  • Styling the article content

  • Styling the edit interface

  • Styling the preview interface

  • Styling the "show changes" interface

  • Styling the "log in" and "register" interfaces

Initializing Your Skin

In order to view changes that have made to your skin's design, you need to make a few changes to MediaWiki. We need to inform MediaWiki that we want to view the wiki's content using a different skin from the default, that is, MonoBook.

CSS and Image Files

You will need to create a new directory in the skins directory, such as skins/yourskinname/, within your MediaWiki installation directory, where yourskinname is the name of...