Manual:$wgSVGConverterPath

From Linux Web Expert

Revision as of 03:01, 9 October 2020 by imported>Baris6161TURK (Needs to be dummy update the translation. The obsolete tags are still there.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<translate> SVG</translate>: $wgSVGConverterPath
Path to the directory of the SVG converter being used.
<translate> Introduced in version:</translate>1.4.0
<translate> Removed in version:</translate><translate> still in use</translate>
<translate> Allowed values:</translate>(absolute path, or empty string.)
<translate> Default value:</translate>''

Details

By default, when invoking a SVG converter, MediaWiki simply passes a command line such as convert ..., leaving it up to the operating system to locate the executable.

If your chosen SVG converter ($wgSVGConverter ) is not in the executable PATH, MediaWiki will not find it. In this case, you need to use this setting to specify the directory in which the SVG converter is located.

You will almost certainly need to set this variable on Windows systems.

Example

This will use the converter from inside the /usr/local/bin/ directory:

$wgSVGConverterPath = '/usr/local/bin';

See also