Support for 3D-rendered molecules on Wikipedia has been on the wishlist since ... forever. This was never done due to security concerns, IIRC.
I just found this site : http://alteredqualia.com/canvasmol/#Penicillin
3D molecule rendering completely in JavaScript using canvas. Since it only runs in the user's browser, Wikipedia servers are not at risk; we'd probably have to check the code for potential XSS problems etc., and add a wrapper with a fallback to our normal PNG for non-JavaScript browsers and, yes, old IE. But so what.
Any takers? Or should I give it a go?
Magnus
On 06/09/11 18:09, Magnus Manske wrote:
Support for 3D-rendered molecules on Wikipedia has been on the wishlist since ... forever. This was never done due to security concerns, IIRC.
The security issues were just normal XSS, easily fixed with an hour or two of work.
I just found this site : http://alteredqualia.com/canvasmol/#Penicillin
3D molecule rendering completely in JavaScript using canvas. Since it only runs in the user's browser, Wikipedia servers are not at risk; we'd probably have to check the code for potential XSS problems etc., and add a wrapper with a fallback to our normal PNG for non-JavaScript browsers and, yes, old IE. But so what.
I think we should go with Jmol, which has many excellent features (not just ball and stick rendering like this canvasmol), a substantial community behind it, and a large content base already hosted on MediaWiki wikis, most notably Proteopedia.
http://proteopedia.org/wiki/index.php/Main_Page
-- Tim Starling
On Tue, Sep 6, 2011 at 12:42 PM, Tim Starling tstarling@wikimedia.org wrote:
On 06/09/11 18:09, Magnus Manske wrote:
Support for 3D-rendered molecules on Wikipedia has been on the wishlist since ... forever. This was never done due to security concerns, IIRC.
The security issues were just normal XSS, easily fixed with an hour or two of work.
I just found this site : http://alteredqualia.com/canvasmol/#Penicillin
3D molecule rendering completely in JavaScript using canvas. Since it only runs in the user's browser, Wikipedia servers are not at risk; we'd probably have to check the code for potential XSS problems etc., and add a wrapper with a fallback to our normal PNG for non-JavaScript browsers and, yes, old IE. But so what.
I think we should go with Jmol, which has many excellent features (not just ball and stick rendering like this canvasmol), a substantial community behind it, and a large content base already hosted on MediaWiki wikis, most notably Proteopedia.
Jmol is fine with me. My point was that, since we can't seem to get the "traditional" stuff deployed, pure JavaScript might be a workable shortcut.
Magnus
Tim Starling tstarling@wikimedia.org writes:
On 06/09/11 18:09, Magnus Manske wrote:
Support for 3D-rendered molecules on Wikipedia has been on the wishlist since ... forever. This was never done due to security concerns, IIRC.
The security issues were just normal XSS, easily fixed with an hour or two of work.
[...]
I think we should go with Jmol, which has many excellent features (not just ball and stick rendering like this canvasmol), a substantial community behind it, and a large content base already hosted on MediaWiki wikis, most notably Proteopedia.
Since there are obviously MW users for Jmol, I'd like to think there are interested MW developers for Jmol. Maybe I can find someone on Proteopedia.
Mark.
On Tue, Sep 6, 2011 at 7:26 PM, Mark A. Hershberger < mhershberger@wikimedia.org> wrote:
Tim Starling tstarling@wikimedia.org writes:
On 06/09/11 18:09, Magnus Manske wrote:
Support for 3D-rendered molecules on Wikipedia has been on the wishlist since ... forever. This was never done due to security concerns, IIRC.
The security issues were just normal XSS, easily fixed with an hour or two of work.
[...]
I think we should go with Jmol, which has many excellent features (not just ball and stick rendering like this canvasmol), a substantial community behind it, and a large content base already hosted on MediaWiki wikis, most notably Proteopedia.
Since there are obviously MW users for Jmol, I'd like to think there are interested MW developers for Jmol. Maybe I can find someone on Proteopedia.
Hi,
I wrote a good part of the Jmol extension for MW. I'm still interested in developing it if there's a chance of seeing it used on MW. I don't have much free time in the following weeks, but I hope this will change before November.
Nico
On 09/12/2011 10:57 AM, Nicolas Vervelle wrote:
On Tue, Sep 6, 2011 at 7:26 PM, Mark A. Hershberger < mhershberger@wikimedia.org> wrote:
Tim Starling tstarling@wikimedia.org writes:
On 06/09/11 18:09, Magnus Manske wrote:
Support for 3D-rendered molecules on Wikipedia has been on the wishlist since ... forever. This was never done due to security concerns, IIRC.
The security issues were just normal XSS, easily fixed with an hour or two of work.
[...]
I think we should go with Jmol, which has many excellent features (not just ball and stick rendering like this canvasmol), a substantial community behind it, and a large content base already hosted on MediaWiki wikis, most notably Proteopedia.
Since there are obviously MW users for Jmol, I'd like to think there are interested MW developers for Jmol. Maybe I can find someone on Proteopedia.
Hi,
I wrote a good part of the Jmol extension for MW. I'm still interested in developing it if there's a chance of seeing it used on MW. I don't have much free time in the following weeks, but I hope this will change before November.
Nico
Nico asks:
I'm quite busy right now, being abroad for my work until the beginning
of November.
After that, I should have more free time to work on things like Jmol extension.
If anyone can pinpoint what has to be done in the extension, it would help me to see what I still have to do on it.
So, Tim, could you point to an assessment of the security issues to fix in Jmol? And anyone else, please put any other requests/concerns in https://www.mediawiki.org/wiki/Extension_talk:Jmol so Nico can address them in November.
wikitech-l@lists.wikimedia.org