Manual:Installing third-party tools/pl
Image thumbnailing requires either ImageMagick or GD library. ImageMagick is recommended since it produces better quality thumbnails. It can be downloaded from http://www.imagemagick.org. GD can be downloaded from http://boutell.com/gd.
MediaWiki can be configured to use ImageMagick to do dynamic resizing and thumbnailing of images. ImageMagick is available for Windows, Unix, Mac OS, and Linux from http://www.imagemagick.org/script/index.php. Once ImageMagick is installed, you must enable ImageMagick and point MediaWiki to the
convert.exe program on your computer in LocalSettings.php like this:
$wgUseImageMagick = true; #$wgImageMagickConvertCommand = 'C:/ImageMagick/convert.exe'; # for windows $wgImageMagickConvertCommand = '/usr/bin/convert'; # for linux
For information on configuring MediaWiki for images in general see Manual:Image administration and Manual:Configuration settings#Images. For information on installing ImageMagick on Windows, see Manual:Running MediaWiki on Windows#ImageMagick; as PHP on Windows comes with GD, it's easier to use GD than ImageMagick.
- Zobacz Extension:Math
MediaWiki uses a subset of TeX markup, including some extensions from LaTeX and AMSLaTeX, for mathematical formulae. It generates either PNG images or simple HTML markup, depending on user preferences and the complexity of the expression. In the future, as more browsers are smarter, it will be able to generate enhanced HTML or even MathML in many cases.
More precisely, MediaWiki filters the markup through Texvc, which in turn passes the commands to TeX for the actual rendering. Thus, only a limited part of the full TeX language is supported; for details see m:Help:Displaying a formula
MediaWiki by default uses sendmail to send email notifications to users if they are enabled in the wiki and in the users preferences. Sendmail comes installed by default on Unix and Linux systems. For a Windows version see http://www.indigostar.com/sendmail.htm. Once sendmail is installed, you must modify your php.ini file to point PHP at the correct sendmail executable. For a Windows based example, see Manual:Newcomers guide to installing on Windows/PHP php.ini
- Zobacz Manual:$wgUseTidy