Version 4 of the Jmol Extension is compatible with MediaWiki 1.16 installation instructions. In this wiki, we are using this image, which leads to the following result. You can add an icon in the skins/common/images/icons/ directory for each extension (for example, fileicon-cml.png).For example, if you want to authorize uploading *.cml files, add $wgFileExtensions = 'cml' in LocalSettings.php. By default, MediaWiki authorizes the uploading of files whose name ends with a limited number of extensions.Note: If you want to authorize users to upload files containing molecular data (for using the tag), you need to do the following: If you want to use the signed Jmol applet in your wiki, I suggest resigning the Jmol applet with your own certificate. Note: the signed Jmol applet is signed with a default certificate. $wgJmolUsingSignedAppletByDefault ( true, false) : Choose if the signed Jmol applet will be used by default.$wgJmolShowWarnings ( true, false) : Display warnings when users try to use disabled features.$wgJmolForceNameSpace : Force the NameSpace where the applet will go looking for wiki pages containing molecular data (using ).This must be an absolute path, therefore if you customize it, make sure it is prepended with $wgScriptPath (see example in Jmol.php). $wgJmolExtensionPath ( extensions/Jmol) : Path to the directory where the Jmol extension is installed.$wgJmolDefaultAppletSize ( 400) : Size in pixels of the Jmol applet.$wgJmolAuthorizeUrl ( true, false) : Authorize the use of.$wgJmolAuthorizeUploadedFile ( true, false) : Authorize the use of.$wgJmolAuthorizeChoosingSignedApplet ( true, false) : Authorize users to choose between the unsigned and the signed Jmol applet.You can configure the Jmol extension with several settings added after the above line (default value in bold): Installation of the Jmol extension is now described on the Jmol extension page on MediaWiki. The files forming the Jmol Extension are part of the Jmol source code and may hence be retrieved from the SVN system. ( This must be done by the wiki administrator.) How to use version 3 of the Jmol Extension.How to use version 4 of the Jmol Extension.Compatible with MediaWiki 1.32, PHP 7.0 and JSmol 14.29.32 How to use version 5 of the Jmol Extension.How to know if the Extension is installed, and which version it is? Visit the Special:Version page in your wiki the extension should be listed there. Once the Jmol Extension is installed in the Wiki, you can start adding Jmol applets and controls. If you know a Wiki using the Jmol MediaWiki Extension, please add it to the list of Wikis using Jmol. It currently needs to be modified for a few things: better security, ability to delay loading the applet. The Jmol Mediawiki Extension is fully functional and stabilized. ![]() The delay effect can be obtained by using Jmol applet in a popup window. The Jmol Mediawiki Extension used JSmol (in HTML5 modality by default, but also compatible with Java modality).Some functionality was added, apart from compatibility with MediaWiki version 1.32. The Jmol Mediawiki Extension is now using JSmol (in HTML5 modality by default, but also compatible with Java modality).(You can check which version a Wiki is using by going to the Special:Version page in that Wiki) The Jmol Mediawiki Extension enables the use of the Jmol applet inside of Mediawiki pages.Ĭurrent version: 5.1, compatible with JSmol It is used by many websites, including this one. versions!) #↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓ usr_share_wiki_path = "/usr/share/mediawiki25" git_branch = "origin/master" # OR "origin/wmf/1.25wmf19" for wmf version, OR REL1_25 git_tag = "origin/master" # OR "1.25.9" vhost_path = "/var/.MediaWiki is an open source wiki engine licensed under the GNU General Public License. # Set global variables (UPDATE this for diff. Git tag -l | sort -version-sort # list tags cd /usr/share/mw-wmf-clone/extensions ![]() Git branch -r | sort -version-sort # list branches ![]() #↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓ # Update the git clone on biowikifarm: if then echo "# Update git /usr/share/mw-wmf-clone/core … " cd /usr/share/mw-wmf-clone/core sudo git pull # subsequent times else echo "# Get git for the first time /usr/share/mw-wmf-clone/core … " cd /usr/share/mw-wmf-clone/core sudo git fetch # first time fi cd /usr/share/mw-wmf-clone/extensions sudo git pull sudo git submodule update -init -recursive Ĭd /usr/share/mw-wmf-clone/skins sudo git pull sudo git submodule update -init -recursive # OPTIONAL: list information on tags etc: cd /usr/share/mw-wmf-clone/core
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |