Extension:ScratchBlocks

ScratchBlocks is an extension to display Scratch, a programming language created by MIT, in wiki blocks.

Installation
If you clone from the repository, note that it uses Git submodules. When you, make sure to include the   option.

$ cd mediawiki/extensions $ git clone --recursive http://github.com/tjvr/wiki-scratchblocks ScratchBlocks

Configuration
None -- every language is enabled by default.

Usage
There are two ways to create snippet of Scratchblocks code, which are nearly identical.
 * Use before and after your code to create a block level element displaying Scratch code.
 * To create an inline-block element (that will show in the middle of the paragraph), enclose the code in  tags.

repeat (5) move (10) steps end say [Done!]

You can repeat Scratch code in a forever loop!

For information on how to write Scratchblocks code, visit this link. (Warning, the page is outdated!)