Vector skin development project

From MediaWiki.org
Jump to navigation Jump to search

The Sturmkrieg Vector skin development project is intended to expand on the Vector skin relatively recently implemented into MediaWiki. Unlike MonoBook, there has been relatively little derivative skins, even fewer that have been generally published, and very little documentation on how to modify Vector. This creates several problems for wikis that want to use Vector. In the first, all wikis appear the same, and identical to Wikipedia, which is a source of confusion among readers who often refer to all MediaWiki websites as "Wikipedia." The second problem prevents appropriate skins from being used by various wikis that have a topic that is not well suited to the light colors and "Wikipedia" appearance of Vector. Modified Vector skins will allow different wikis to have their own feel, which is appropriate to their topic.

Development[edit]

The skins will follow this method for creation. While this requires that the wiki have Vector, it uses the Vector files, meaning that only one file will need to be modified for changes to be applied to all Vector based skins. It also requires considerably less technical knowledge, since most of the changes are done by writing the CSS page for the skin. The MediaWiki version this method is intended for is 1.19 and above, which includes Vector by default.

Development will begin with the Sturmkrieg development organization at GitHub. Once a usable skin is created, we will request creation of a WMF Gerrit repository and move the source code there. This will become the main repository for the skin.

Skin creation[edit]

For the development of new skins, we will be using the method described here: http://blog.redwerks.org/2012/02/28/mediawiki-subskin-tutorial/ that overlays a new CSS stylesheet over the default Vector CSS stylesheet. This has the benefit of requiring minimal scripting and coding; the only CSS code necessary is that which will override the default CSS of Vector.

Planned skins[edit]

VectorBlue[edit]

A light blue variation of the Vector skin

VectorRed[edit]

A red themed version of Vector

FieldGray[edit]

Gray version of Vector

VectorGray[edit]

A light gray version of Vector, similar to the original

VectorGreen[edit]

Light green variation of Vector

Sturmkrieg skin port[edit]

This will be a modified, open source variant of the Sturmkrieg skin for public use. It will be similar to the skin used by Sturmkrieg, but modified to maintain a distinctive appearance for the original.