Extension:ClientSide

The ClientSide extension provides functions for generating code in client-side formats such as HTML, CSS and JavaScript. Required by Extension:CommunityVoice.

Purpose
The concept of this code is to provide procedural constructs for generating code which will be sent to the client. This is an alternative to embedding these client side languages as string throughout the PHP. This approach is inline with the design of the Xml class present in the MediaWiki core, however ClientSide takes the concept a step further with CSS and JavaScript generation while providing a somewhat more flexible function argument structure.