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)

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)