Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/tjvr/wiki-scratchblocks
- Owner: tjvr
- License: mit
- Created: 2013-06-03T18:13:02.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2020-02-21T06:26:37.000Z (almost 5 years ago)
- Last Synced: 2024-12-20T14:48:13.251Z (21 days ago)
- Language: PHP
- Homepage:
- Size: 32.2 KB
- Stars: 11
- Watchers: 10
- Forks: 16
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 tjvrInstallation
============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 ScratchBlocksJust 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.