手册:$wgSVGConverterPath

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgSVGConverterPath and the translation is 50% complete.

Other languages:
Deutsch • ‎English • ‎Nederlands • ‎català • ‎español • ‎français • ‎italiano • ‎magyar • ‎polski • ‎português • ‎português do Brasil • ‎suomi • ‎中文 • ‎日本語
SVG: $wgSVGConverterPath
Path to the directory of the SVG converter being used.
引进版本:1.4.0
移除版本:仍在使用
允许的值:(绝对路径或空字符串)
默认值:''
其他设置: 按首字母排序 | 按功能排序

细节

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.

例子

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

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

参见