The following information may have errors; It is not permissible to be read by anyone who has ever met a lawyer. Use is confined to Engineers with more than 370 course hours of electronic engineering for theoretical studies. All content entered becomes and is (C)2007 Transtronics, Inc. the property of Transtronics, Inc. Rest assured that your contributions won't be sold and will be publicly available.
ph +1(785) 841 3089 Email inform@xtronics

Mediawiki customization

From Transwiki

Jump to: navigation, search

Contents

Variables

LocalSettings.php Tweaking variables.

Adjust style sheet

Confirmedit url white-list

Upload files page

In Debian you will need to change the directory permissions

$ chmod 777 /var/lib/mediawiki/images

Math

Backport and install mediawiki-math

remove backport and install

ocaml
imagemagick
gs
cjk-latex (now called latex-cjk-all)
tetex-extra
php5-imagick

You need this in Localsettings:

$wgUseTeX                = true;
$wgTexvc =              '/usr/bin/texvc';
$wgMathPath     =       "$wgScriptPath/images/math";
$wgTmpDirectory =       "$IP/images/tmp";
$wgMathDirectory=       "$IP/images/math";


math test

 R = \frac{w+2}{32}

Allow three letter word searching

Add to the [mysqld] section: ft_min_word_len=3

Log on to mysql and use the wiki database

Then

OPTIMIZE TABLE searchindex;
Personal tools