Extension:Java Applet

This Mediawiki extension enables you to add Java applets using the "java_applet" tag. The Java binary must be uploaded to the wiki (either class file or jar file). You may need to add 'jar' and 'class' to the $wgFileExtensions variable in LocalSettings.php.

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

=


Installation
To install copy the code below to "JavaApplet.php" and put it in your Mediawiki extensions directory and add... include("extensions/JavaApplet.php"); ...to your LocalSettings.php file.

This is my first try at coding php so I don't promise it to be secure, easy to use or even work. Use this program at your own risk.

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