Extension:Scratch

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual - list
Crystal Clear action run.png
Scratch

Release status: beta

Scratch1.png
Implementation Tag
Description Allows to insert Scratch applets
Author(s) Yury Katkov <katkov.juriy@gmail.com>
Last version 0.1
MediaWiki 1.16
PHP 5.2
License LGPL
Download Latest version
Hooks used
ParserFirstCallInit

Check usage (experimental)

Contents

[edit] What can this extension do?

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

[edit] Usage

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.

[edit] Example

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

[edit] Download instructions

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

[edit] Installation

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

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

[edit] See also

Extension:Java Applet — another way to do the same thing

Personal tools
Namespaces

Variants
Actions
Navigation
Support
Download
Development
Communication
Print/export
Toolbox