Extension talk:Jmol

To the author of this extension
This extension is built on Extension:StubManager but does not seem to really leverage its capabilities. Why bother with it then? Jean-Lou Dupont 10:53, 3 May 2008 (UTC)
 * Honestly, no real reason, this is my first extension and I just tried to work with StubManager. Do you think that I should modify it to be without the dependency ? --NicoV 16:53, 3 May 2008 (UTC)
 * Well, it depends what is your goal: is it to write more extensions? If YES, then you can consider getting more comfortable with StubManager or ExtensionManager because those can help you churn out extensions much faster. Jean-Lou Dupont 16:58, 3 May 2008 (UTC)
 * I removed the dependency on StubManager when I updated the extension to work with MW 1.16. So now, the Jmol extension can work on its own without any dependency. --NicoV 12:09, 27 November 2010 (UTC)

Jmol no longer works with mediawiki
I'm using media 1.17 (but I think the same is going to happen to 1.16 and maybe 1.15). I installed StubManager and Jmol and I get the following error:

Warning: Parameter 1 to Jmol::tag_jmol expected to be a reference, value given in /var/www/mediawiki/extensions/StubManager/StubManager.php on line 783

removing the '&' references from the jmol.body.php file make the error go away but nothing is displayed (though I really don't know much php). --24.188.149.43
 * The Jmol extension has been updated to have no dependency on StubManager, and to work with MediaWiki 1.16. It should work correctly now. --NicoV 12:10, 27 November 2010 (UTC)
 * Version 5 of the Extension is now available and compatible with Mediawiki 1.32. Documentation has been updated too. --AngelHerraez (talk) 19:46, 25 April 2019 (UTC)

Jmol broken in Mediawiki 1.19
The fix is easy, though. On lines 354 and 692 of Jmol.body.php, you need to replace $file = new Image($title); with $file = wfFindFile($title);

Out of date documentation
@ NicoV Your last edit to the documentation was almost 5 years ago, and it seems like as though the documentation is now out-of-date as I have followed your instructions step-by-step, as has a staff member at Orain Wiki who was trying to set it up on a Wiki I requested from them, and we both failed (e.g., see https://meta.orain.org/wiki/Request_features#Jmol_extension_on_HMWiki if you'd like details of this staff member's effort). For me the biggest problem was the fact that whenever I added jmol-related tags (e.g., or 3EIG ) to a page and tried to save the page, I was left at a blank submit page (i.e., .../wiki/PAGENAME?action=submit (where PAGENAME is the name of the page where I was attempting to add said tags) was in the address bar with no page content whatsoever). I attempted adding these tags to a page on the orain wiki that was set-up for me (after they had tried to add this extension too) and encountered the same problem. I hope I don't seem antagonistic, as any help you can give me will be much appreciated. Fuse809 (talk) 18:01, 4 February 2015 (UTC)
 * Hi Fuse809, I haven't followed what has been done with the extension for quite some time (and if it's compatible with latest versions of MW). Right now, I'm travelling until mid February, so I can't do much until them. --NicoV (talk) 01:21, 6 February 2015 (UTC)


 * Dear Fuse809, if it helps I can confirm that JSmol works on MediaWiki 1.23.8 (LTS). For example see this page on SklogWiki --Carl McBride (talk) 18:44, 6 February 2015 (UTC)

Jmol extension, hope for continuation?
I am using Mediawiki 1.28 and I would like to use Jmol/Jsmol in my Mediawiki, but I have the feeling, that this extension is unfortunately no longer continued. Is there hope for resumption?
 * Version 5 of the Extension is now available and compatible with Mediawiki 1.32. Documentation has been updated too. --AngelHerraez (talk) 19:46, 25 April 2019 (UTC)

Jmol for Wikipedia?
Hello, I wanted to ask you if you could make this extension available for wikipedia pages, I compared myself with different users of the Italian Wikipedia page and they would be very happy to have this type of extension for Wikipedia, it would allow us to improve the pages related to chemistry taking advantage of Jmol. Thanks in advance. –Griot Matteo (talk) 16:14, 19 November 2019 (UTC)
 * Hi Griot Matteo. Angel is the one maintaining the extension now, but I think the decision depends on WMF to allow an extension deployed on Wikipedia. I don't know who can decide and give pointers on what should be done to allow an extension. --NicoV (talk) 16:32, 19 November 2019 (UTC)
 * oh thank you, well if you want I have already informed you on how to do this operation, I can attach here the link to the topic where I ask for information: https://www.mediawiki.org/wiki/Topic:Vbcr6ekqtyf65wp5, and here instead where there is the page that illustrates the procedure to make the extension available: https://www.mediawiki.org/wiki/Review_queue . -Griot Matteo (talk) 16:48, 19 November 2019 (UTC)
 * Hello Griot Matteo. I would also be delighted to have JSmol inside Wikipedia. Years ago there were discussions about integrating the extension (then using the Jmol applet) and there were objections, so nothing was done. I am however not familiar with WP policies and procedures. Although I have helped in updating the J(S)mol Extension, I am not proficient in developing MW Extensions from scratch. Nevertheless I will read carefully the links you have provided and we will see if this can be pushed forward as a proposal. --AngelHerraez (talk) 20:01, 22 November 2019 (UTC)
 * Thank you so much, I hope this is feasible because it really deserves as an extension! --Griot Matteo (talk) 20:31, 22 November 2019 (UTC)

hi, I wanted to ask some things. I had contacted you long ago to ask you if it was possible to see your plugin available in wikipedia, an operation that required your work being the owners and developers of this plugin, I wanted to know if it had taken hold and if there is a hypothetical date release on the platform? The second thing is more a personal observation, I am not a programmer, I program as a hobby and I try to learn as a self-taught. I realized that your plugin needs some files to download directly from Sourceforge, I mean the native Jmol / Jsmol files, wouldn't it be more convenient if here instead of downloading files they would be fetched from the server that hosts jmol? That is, use "https://chemapps.stolaf.edu/jmol/jsmol1/JSmol.min.js" and other direct links to the necessary libraries? In doing so, the plugin would always be updated and would not need constant manual updates to bring the latest version. Mine are only ideas and curiosities, I would like to see the extension available for the wikipedia pages but I do not know the programming notions to be able to develop the plugin on your own and since you have already developed a working plugin it would be useless to start from scratch. I hope to receive answers from you. -Griot Matteo (talk) 06:38, 15 April 2020 (UTC)