Extension:Java Applet

The Java Applet extension allows users with the 'javaapplet' right to upload Java applets (class and jar files), which can then be inserted into pages by anyone using the  tag.

Arguments

 * code, java class file (required)
 * width, applet width (required)
 * height, applet height (required)
 * archive, jar file name (required)

Example


Installation
First, ensure that MediaWiki enables Java uploads by setting To install, download and extract the .zip snapshot in your  directory or clone https://github.com/TK-999/mw-ext-JavaApplet into your   directory. To import the extension, add to your LocalSettings.php file.

The extension only allows users with the 'javaapplet' right&mdash;by default, sysops&mdash;to upload .class and .jar files. You can adjust this by adding this right to other groups after require_once( "$IP/extensions/JavaApplet/JavaApplet.php" ); in LocalSettings.php:

To Do
Automatically detect the 'code' value from jar files with properly setup manifests.