Bugs item #2896172, was opened at 2009-11-11 13:45 Message generated for change (Settings changed) made by hansonr You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=379133&aid=2896172&group_id=23629
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Scripting Group: None >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Albert DeFusco (adefusco) Assigned to: Miguel (migueljmol) Summary: MediaWiki urlContents and ampersand Initial Comment: When using the mediawiki extension to load a file that requires a PHP url, it seems that the ampersand may be escaped properly. Typing the link I have included below into the console will work, but I can't make it work inside MediaWiki. http://defusco.msg.chem.iastate.edu/~albert/viewgit/?a=viewblob&p=formaldehyde&h=1094fd3626ac8aae5bb4051ff891f72bb5f82f9a&hb=64f680294186d6d4e1d4687ed57a08bcdfa2f595&f=a1.gamess ---------------------------------------------------------------------- Comment By: Angel Herraez (aherraez) Date: 2009-11-13 16:34 Message: The update for Jmol MediaWiki Extension v 3.2 has been committed (r11738). This provides support for URLs with & in <jmolApplet> + <urlContents>, as well as in <script> used by any of the controls (button, link, menu, checkbox...). The only trick is that the url written inside the tag must have %26 instead of & (cannot be done automatically in the extension code). ---------------------------------------------------------------------- Comment By: Angel Herraez (aherraez) Date: 2009-11-12 14:07 Message: Albert and me have studied a bit the cause of this problem. Seems that the ampersand is forbidden in the wikisource and so breaks the generation of the page (insertion of applet) and even the load command. As a partial solution, %26 codes must be used (manually) inside the <urlContents> tag, and a fix in the Jmol MW Extension will take care of interpreting those codes into a & that the server will accept. The extension will be version 3.2. (%26 is the standard wikicode for &, e.g. in page names) Maybe a similar fix is needed for other tags that might use urls with &, like <script> ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=379133&aid=2896172&group_id=23629 ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Jmol-developers mailing list Jmol-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-developers