Manual:$wgSVGConverterPath

From MediaWiki.org
Jump to: navigation, search

Other languages:
català • ‎Deutsch • ‎English • ‎español • ‎suomi • ‎français • ‎italiano • ‎日本語 • ‎Nederlands • ‎polski • ‎português • ‎português do Brasil
SVG: $wgSVGConverterPath
Path to the directory of the SVG converter being used.
Introduced in version: 1.4.0
Removed in version: still in use
Allowed values: absolute path, or empty string.
Default value: '' (empty string)
Other settings: Alphabetical | By function

Details[edit]

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 ($wgSVGConverterManual:$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[edit]

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

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

See also[edit]