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 4. Changing the Layout

In the previous chapters we have seen how to change the wiki's appearance, both within the "article" content, and the areas surrounding it. Currently, the layout is not very attractive, as every element has a full-screen width. This means that the elements you wish to see towards the top of the page, such as your userbar, are displayed towards the bottom of the page. Changing the layout of your MediaWiki skin can overcome this, and will allow you to group the related elements.

In this chapter, we will cover the following:

  • Altering your wiki pages'<head> element, including changing the default page title, using favicons, and altering stylesheet paths

  • Identifying and changing the content block's elements

  • Identifying and changing the surrounding interface's elements

Most wikis retain the two-column layout of MonoBook, and our JazzMeet case study is no different. The two columns will allow us to show a smaller column for our "sponsors" alongside the page's main...