Extension:Scratch

MediaWiki extensions manual
OOjs UI icon advanced.svg
Scratch
Release status: unmaintained
Scratch extension logo.png
Implementation Tag
Description Allows to insert Scratch applets
Author(s) Yury Katkov <katkov.juriy@gmail.com>
Latest version 0.1
MediaWiki 1.16
PHP 5.2
License LGPL
Download Project page
Subversion [Help ]

Browse source code
View code changes

Note Note: No localisation updates provided by Translatewiki.net .
Check usage and version matrix.

What can this extension do?Edit

This extension allows you to insert Scratch applets in your MediaWiki website.

UsageEdit

In this first version of an extension you have to upload your scratch script on an Official Scratch Website.

Insert the code <scratch script="author/id" /> on a place where you want to insert your script.

Here author is your name on Scratch website, id is the identifier of your project. You can go to your Scratch project and copy and paste the tail of the URL.

ExampleEdit

For example <scratch script="patarakin/1470508" /> will add this script in a wiki page: http://scratch.mit.edu/projects/patarakin/1470508

Download instructionsEdit

The latest release is here. Just download it. Unpack the extension with 7-zip or tar and put it in the your extensions folder.

InstallationEdit

To install this extension, add the following to LocalSettings.php:

include_once("$IP/extensions/Scratch/Scratch.php");