Milkshake

From MediaWiki.org
(Redirected from Project Milkshake)
Jump to: navigation, search
Presentation delivered on September 2012

Project Milkshake is a project that aims to make generic jQuery components for commonly needed internationalisation features. The project was conceived by the Wikimedia Localisation team in July 2012.

All initial components are being developed because there is a need for them on Wikimedia Projects through MediaWiki. However, it would be shame to not make it easy for anyone to re-use them in any project.

Because of this, we chose to (re)develop all components as generic jQuery libraries, using well documented APIs, so that it is relatively easy to implement and use them anywhere. To allow easy participation in the features, the source code repositories are hosted on GitHub. MediaWiki specific implementations re-use the code from the libraries.

Licenses and contributing[edit | edit source]

Components are dual licensed as GPL and MIT as much as possible to allow wide adoption. New contributions can only be accepted under these two licenses.

Components[edit | edit source]

Front end messaging framework[edit | edit source]

Based on research, we found out that no existing freely licensed i18n framework for JavaScript was available that was as flexible and feature rich as MediaWiki's messaging for JavaScript. Currently, work is underway to implement the specification.

Language selector[edit | edit source]

Input methods[edit | edit source]

Web fonts[edit | edit source]

Future developments[edit | edit source]

Based on feedback by Krinkle, future developments may include the addition of a Resource Loader and removal of the MediaWiki JavaScript i18n framework in favour of Project Milkshake components.

See also[edit | edit source]