Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying MediaWiki Skins Design
  • Table Of Contents Toc
MediaWiki Skins Design

MediaWiki Skins Design

By : Richard Carter
3.7 (3)
close
close
MediaWiki Skins Design

MediaWiki Skins Design

3.7 (3)
By: Richard Carter

Overview of this book

This book takes you step by step through customizing your MediaWiki skin. It is full of practical examples of MediaWiki skinning techniques, and clear explanations of how MediaWiki skinning works. The early chapters go through each element of a MediaWiki design, showing the CSS and PHP tags necessary to customize MediaWiki's appearance. Later chapters look at ways to further enhance your design using extra graphics, JavaScript, AJAX, dynamic CSS, and more. This book is aimed at web designers or wiki administrators who want to customize the look of MediaWiki with custom skins. The reader will already have a MediaWiki installation that they are targeting with their skin. It might be their own installation, or they might be a designer developing a custom look for a client. The book does not cover setting up or using MediaWiki, except features specifically related to skinning. The book assumes that you are familiar with CSS and HTML, but no prior knowledge of PHP is required.
Table of Contents (16 chapters)
close
close
MediaWiki Skins Design
Credits
About the Author
About the Reviewer
Preface

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 your new MediaWiki skin.

To keep things simple, we will call our new skin jazzmeet, and store it in the skins/jazzmeet/ directory. The primary Cascading Style Sheets (CSS) file for each skin is usually in this skin directory and is known as main.css. But it can be changed in the header of your skin's PHP template. For example, the CSS file for our new skin should be located at skins/jazzmeet/main.css within our wiki's installation directory.

Note

You may find it useful to copy an existing skin directory, such as MonoBook (from skins/monobook/),...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
MediaWiki Skins Design
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon