Is it possible to upload Applets in a directory e.g. /uploads/applets and integrate them into a site via [[Applet:Appletname]] ? Thanks in advance S.W.
On 13/09/05, Simon Wagner wagner.sim88_mw@web.de wrote:
Is it possible to upload Applets in a directory e.g. /uploads/applets and integrate them into a site via [[Applet:Appletname]] ?
No.
A more helpful answer would be to point you towards http://meta.wikimedia.org/wiki/Write_your_own_MediaWiki_extension and the various linked resources.
The upload part should just be a case of allowing the ".class" extension to be uploaded in LocalSettings.php (with the $wgFileExtensions variable) - this will upload them along with anything else, with descriptions at [[Image:Foo.class]] and file locations nested in md5-based directories unless you set $wgHashedUploadDirectory=false.
You'll then need to hack in a way of actually displaying those applets inline - it oughtn't to be too hard to create an <applet>Foo</applet> wiki-tag that spits out the right HTML for you...
mediawiki-l@lists.wikimedia.org