SEDSwiki
From SEDSWiki
SEDSWiki Server Admin Notes
SEDS is running MediaWiki version 1.15.0.
Contents |
Upgrades
Note that the SEDS Wiki and the Yuri's Night Wiki share a common code-base. When updating the WIKI software, follow these instructions on the Yuri's night wiki page for performing the upgrade.
ImageMagick
MediaWiki uses ImageMagick for conversion of images (/usr/local/bin/convert). Control is specified in LocalSettings.php, in the same vicinity of variables to allow image uploads:
$wgUseImageMagick = true; $wgImageMagickConvertCommand = "/opt/local/bin/convert";
Compilation
The current version of ImageMagick is installed from Mac Ports.
Getting the <Math> code to work
- Follow the basic instructions at http://meta.wikimedia.org/wiki/Enable_TeX
- Get the massive (300MB) package from http://www.ctan.org/tex-archive/systems/mac/mactex/MacTeX.dmg and install it
- Update /web/seds/wiki/html/math/render.ml with paths to the executables. The above installer puts them pretty deep in the path, specifically:
- let cmd_dvips tmpprefix = "/usr/local/teTeX/bin/powerpc-apple-darwin-current/dvips ...
- let cmd_latex tmpprefix = "/usr/local/teTeX/bin/powerpc-apple-darwin-current/latex ...
- let cmd_dvipng tmpprefix finalpath = "/usr/local/teTeX/bin/powerpc-apple-darwin-current/dvipng ...
- Install ocaml as described at the first link above
- Make texvc in /web/seds/wiki/html/math as specified in the README file in the directory
- Enable $wgUseTeX in LocalSettings.php
--Chris 12:51, 13 January 2007 (MST)
When Thumbnails Stop Working
For reasons that I haven't quite figured out, sometimes mediawiki won't be able to make thumbnail previews of upload images. When it does this, re-installing ImageMagick (from /usr/local/src/ImageMagick-*) seems to do the trick. It appears that the permissions get updated as a result, so it may have something to do with that (don't know how they're changing otherwise). Something to investigate... --Chris 11:16, 20 October 2007 (MDT)

