Now enabled in Dutch! http://nl.scratch-wiki.info
This repository has been archived on 2026-04-26. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • PHP 92.2%
  • JavaScript 7.8%
Find a file
2016-01-10 20:36:18 +01:00
scratchblocks2@d87854c81c Update scratchblocks 2014-05-27 16:55:26 +01:00
.gitignore Initial 2013-05-22 14:27:16 +01:00
.gitmodules Move scratchblocks2 to submodule 2013-06-03 19:21:36 +01:00
LICENSE Initial 2013-05-22 14:27:16 +01:00
README.md dutch 2016-01-10 20:36:18 +01:00
run_scratchblocks2.js dutch 2016-01-10 20:36:18 +01:00
ScratchBlocks2.php new location 2015-07-11 18:08:33 +07:00

A simple MediaWiki extension for rendering Scratch blocks.

Transforms <scratchblocks> tags inside wiki articles into <pre class="blocks"> in the HTML, which are then rendered to scratch blocks using CSS and JS included in the page.

Installation

Just drop this folder into MediaWiki's "extensions/" folder, and add

require_once( "$IP/extensions/mw-ScratchBlocks2/ScratchBlocks2.php" );

to your "LocalSettings.php".

Warning

This repository uses Git submodules. If you git clone, make sure to include the --recursive option.

Changes

Edited for the Dutch Scratch Wiki so that it supports Dutch.