Brian,

We are currently running courses with no issue using the  "old"  
implementation

http://www.ch.ic.ac.uk/wiki/

(which has proved  VERY robust. We often have classes of  50 students  
all hammering pages with  10 or more embedded Jmols, with no issues).

but have also been struggling to implement the new version

http://www.ch.ic.ac.uk/wiki2/index.php/Mod:jmol

I currently have it down to a  "silly mistake" somewhere, probably a  
variable in LocalSettings.php. The correct source code is being  
generated, including the  Jmolinitialize script etc, but it just does  
not start (if someone CAN spot a mistake in the source for the page  
above,  I would be very grateful!) The current environment is as usual  
at http://www.ch.ic.ac.uk/wiki2/index.php/Special:Version Perhaps its  
an issue with the combinationin of  Jmol and  StubManager?

Although I love Mediawiki (and its use HAS revolutionalized how we  
grade student "molecular modelling"),  it remains a very fragile  
environment.  Thus a single misbehaving  extension and  mediawiki has  
a propensity for displaying  NOTHING.

I am very keen to extend our course so that the wiki can start to  
display eg  MO surfaces, vibrations, etc, but all this is predicated  
on being able to update the Jmol.

Oh, and I need to get all this working, since  I hope to present on  
this topic at the  ACS next spring!

One final question.  Students are asked to paste a boiler plate 3  
lines to include their own  molecules.  Inevitably, they sometimes  
truncate this, missing out either the start or the end of the syntax.  
MediaWiki contrives to accept this without issue, but then complains  
inevitably that the  XML is broken and will refuse to allow the broken  
page to be edited.  One then has to access the history list manually,  
and revert to a working version.  Its messy.  But why cannot the php  
parser validate the  XML in the first place, and refused to deposit it  
into the MySQL if it does not validate?

On 29 Nov 2008, at 01:41, Brian Salter-Duke wrote:

> The question of having Jmol used on wikipedia has again been raised on
> the commons email list. On contributor to the discussion says that the
> jmol mediawiki extension now only works with an older version of
> mediawiki. Certainly my examples at:-
>
> http://wiki.jmol.org:81/index.php/User:Bduke
>
> are not working. I still very much want to get jmol working on  
> wikipedia
> and would like to also get it on wikiversity for some teaching  
> materials
> I have started to add there. However, I have been very much out of  
> touch
> recently. Could someone please update me on what the situation is with
> the jmol mediawiki extension and point me to an example of it working,
> so I can point the wikipedia technical folks to have a look at the
> examples?
>
> Also, last time I tried to get jmol on wikipedia I was told there were
> security issues with the extension. Have these been addressed?
>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to