Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tjvr/wiki-scratchblocks

A simple MediaWiki extension for rendering Scratch blocks.
https://github.com/tjvr/wiki-scratchblocks

Last synced: 10 days ago
JSON representation

A simple MediaWiki extension for rendering Scratch blocks.

Awesome Lists containing this project

README

        

A simple MediaWiki extension for rendering Scratch blocks.

Transforms `` tags inside wiki articles into `

`

in the HTML, which are then rendered to scratch blocks using CSS and JS
included in the page. Inline blocks are rendered with `` tags, and become
`` tags.

- Maintained by ErnieParke ([@Choco31415](https://github.com/Choco31415)).
- Authored by tjvr

Installation
============

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

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

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

require_once( "$IP/extensions/ScratchBlocks/ScratchBlocks.php" );

to your "LocalSettings.php". If running Mediawiki 1.25 or greater, you can use

wfLoadExtension( "ScratchBlocks" );

instead of the require statement.