https://github.com/tjvr/wiki-scratchblocks
A simple MediaWiki extension for rendering Scratch blocks.
https://github.com/tjvr/wiki-scratchblocks
Last synced: 3 months 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 (about 12 years ago)
- Default Branch: master
- Last Pushed: 2020-02-21T06:26:37.000Z (over 5 years ago)
- Last Synced: 2025-03-23T19:22:22.645Z (4 months ago)
- Language: PHP
- Homepage:
- Size: 32.2 KB
- Stars: 11
- Watchers: 8
- 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.