Design/Archive/Wikimedia Foundation Design


 * The agora was a central spot in ancient Greek city-states. The literal meaning of the word is "gathering place" or "assembly". The agora was the center of athletic, artistic, spiritual and political life of the city.

This document serves as a style and design specification guideline for Wikimedia Foundation projects. It is not a style guide for the MediaWiki software. This document aims to provide designers a rulebook for color usage, design patterns, and general styles.

In addition, the goals of the Agora project include:
 * Development of an easy-to-use toolkit (like Bootstrap, but for MediaWiki)
 * Development of a specialized and unique icon set

This document is by no means exhaustive, and should be considered a "permanent" work in progress.

Documentation

 * Design Principles
 * Design Process
 * Style
 * Size and layout
 * Color Usage
 * Typography
 * Iconography
 * Spacing and Indentation (Whitespace)
 * Writing style
 * Patterns and components
 * Suggested Redesigns
 * How to Give Design Feedback

Code, status
Agora adds skin-agnostic CSS styles to MediaWiki, The CSS defines various mw-ui-* classes including
 * with many variations, such as 'mw-ui-button mw-ui-primary mw-ui-big' for a large button that will appear in blue in the Vector skin.
 * for a container with a vertical "stacked" layout
 * several utility classes such as

The CSS varies with the user's skin. Users with the Vector skin, which is the default for new users on WMF wikis, see Note that many browsers and operating systems recognize "Helvetica" and will substitute a close match, often open source.
 * colored buttons (blue for mw-ui-primary, green for mw-ui-constructive, red for mw-ui-destructive)
 * for some page elements a font stack of "Helvetica Neue", "Helvetica", "Arial", sans-serif.

The CSS will be available in core MediaWiki in release 1.22 in the mediawiki.ui module;. You can use context to ensure the CSS is loaded.

The CSS is also available in the Agora extension, together with a test subdirectory with some static HTML pages illustrating its use, for earlier MediaWiki versions.

We generate the CSS styles from Sass  files using Compass, see the  subdirectory. You don't need Compass to use the CSS.

More details are in Agora/Engineering. All hail Munaf Assaf, and Trevor Parscal, and others who contributed!

April 2013
moves the Agora CSS into core (resources/mediawiki.ui ) and changes the Login form to use Agora mw-ui-buttons and mw-ui-vform to produce a vertical form layout. It's opt-in for now, e.g. http://en.wikipedia.beta.wmflabs.org/w/index.php?title=Special:UserLogin&useNew=1

builds on this to convert the Create account form to a vertical form layout, also opt-in.

People
This document is a product of the design team at the Wikimedia Foundation:


 * Brandon Harris
 * Vibha Bamba
 * Munaf Assaf
 * Pau Giner