Last modified: 2010-12-27 04:22:11 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T24950, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 22950 - Request to add java applet support
Request to add java applet support
Status: RESOLVED WORKSFORME
Product: MediaWiki extensions
Classification: Unclassified
Extensions requests (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-03-25 18:54 UTC by David Webb
Modified: 2010-12-27 04:22 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description David Webb 2010-03-25 18:54:50 UTC
I started a discussion on Wikipedia:Village pump (technical) asking about adding support for java applets to Wikipedia.  These would be very useful to myself and other physicists in allowing us to use small interactive applets to get concepts across.  (I developed one for tidal resonances and then found I could not submit it.)  It was suggested that I check bugzilla, which I have done, and make a request here ... .

I understand that I need to show a demand for the new facility, so I'll try and show this through WikiProject Physics.  In the mean time I understand that I should contact someone in MediaWiki who might be interested in developing the necessary server software.  

1.  As far as I can see the easiest route is just to add an <applet ... > tag to the html, although apparently this is now depreciated and there a revised tag which does not always work.

2.  During the discussion there were concerns about the extra download time involved, the possible extra cpu overhead on PCs and - PC security and the responsibility of Wikipedia..

- For the download time, I thought the best thing to do was to have a javascript box, as is used in Wikipedia for media files, that would only download and start the applet when clicked on.  Before that I would just show a suitable starting jpeg image.

- CPU and security are more difficult and may require the scripts to be checked but some trusted editors.  However there is a java routine to stop processing once an applet is no longer visible.  Maybe this should be checked for.  Regarding security, the applets should be/are normally run in a sandbox and there may need to be some extra checks to ensure this is done correctly.

- Finally there needs to a few checks such as checking that java is available and permitted by the browser and putting up a nice message if this is not the case.

If you need more information I can be contacted at djw@soton.ac.uk.

Regards,  David Webb.
Comment 1 Max Semenik 2010-03-25 19:27:27 UTC
IMO, not gonna happen on Wikimedia for security reasons: sandboxing or not, Java applets can do funny things and this feature WILL be abused.
Comment 2 Chad H. 2010-04-19 14:23:32 UTC
Moving to extension requests, not going in core MediaWiki.
Comment 3 Brion Vibber 2010-12-27 04:22:11 UTC
Looks like there's already such an extension (untested; it looks horribly insecure though, but hosting arbitrary applets probably will remain so anyway):

http://www.mediawiki.org/wiki/Extension:Java_Applet

Note to original poster -- I've actually been mulling over related issues about how to securely create and link interactive thingies like this, but it may be some while before it's all together and ready to start feeding back to MediaWiki. We'll need to collect some related old bug reports...

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links