Manual:Skinning/Vector

How to create a skin FooBar based on the default skin Vector (any name other than FooBar will do of course) in MediaWiki 1.17/1.18

copy Vector

 * copy directory ./skins/vector to ./skins/foobar
 * copy ./skins/Vector.php to ./skins/FooBar.php
 * copy ./skins/Vector.deps.php to ./skins/FooBar.deps.php
 * in ./skins/FooBar.php, change:
 * SkinVector into SkinFooBar</tt>
 * VectorTemplate</tt> into FooBarTemplate</tt>
 * ,  into  ,
 * this is no longer correct

colors
The color scheme used in vector is primarily maintained in a bunch of images in ./skins/foobar/images</tt> driven by ./skins/foobar/screen.css</tt>
 * border.png</tt>: color of borders of the contents area
 * page-base.png</tt>: background of page apart from contents
 * page-fade.png</tt>: color fade at top of page

Example
See /Example for a working example.

MediaWiki 1.19
Follow the Steps from the first Section but don't create the file resources.php</tt> and don't link in in your Localsettings.php. Instead add the following at the end of  method of your class   (after  :