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

Keep Your Head On: MediaWiki's <head> Tag


The<head> element of the wiki is generated in your skin's PHP template file. In our case, this is JazzMeet.php. It contains the wiki page's title, references to the page's stylesheets and, in the case of MonoBook, stylesheets to fix discrepancies in the skin's display in various versions of browsers. Notably, there are fixes for Internet Explorer, Opera, and the KHTML layout engine used by Konqueror and Safari.

The Page Title: <title> and MediaWiki:PageTitle

There are two ways to change the page title of your wiki. The first option is to alter the value contained within the MediaWiki:Pagetitle page in your wiki's namespace, to add a slogan after the wiki's name.

$1- JazzMeet - Jazz Festivals

Note

Borrow the head content from MonoBook:

If you did not create your PHP template file by copying and renaming the MonoBook.php file, you may find it useful to copy this content from another MediaWiki skin template (such as MonoBook), as this...