Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Wikipedia: Mediawiki

Uploading Applets and using it

 

 

Wikipedia mediawiki RSS feed   Index | Next | Previous | View Threaded


wagner.sim88_mw at web

Sep 13, 2005, 10:12 AM

Post #1 of 2 (275 views)
Permalink
Uploading Applets and using it

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.
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] Wikimedia
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l


rowan.collins at gmail

Sep 14, 2005, 9:30 AM

Post #2 of 2 (267 views)
Permalink
Re: Uploading Applets and using it [In reply to]

On 13/09/05, Simon Wagner <wagner.sim88_mw [at] web> 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...

--
Rowan Collins BSc
[IMSoP]
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] Wikimedia
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l

Wikipedia mediawiki RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.