Snippets

Snippets are small pieces code to provide additional functionality whether interactive, visual or both.

Currently there snippets in two categories. Some snippets are in both.
 * JavaScript
 * CSS
 * Browse all snippets

How to use
You can use these snippets in extensions, existing scripts and any other place where jQuery is available and the page is ready for JavaScript manipulation.

Alternatively you can use them on your local wiki by using one of the on-wiki JavaScript pages:

You can use the following code-block to place snippets inside. This should work for any of the following:
 * MediaWiki:Common.js (everybody everywhere every skin)
 * MediaWiki:Vector.js (everybody everywhere vector skin)
 * (only people who have enabled this gadget)
 * (only for you)
 * Only one "document.ready" frame is needed!