|The file system path of the upload directory.
(Note: The default value of this variable depends on other variables, such as the values set in Setup.php, after LocalSettings.php is executed)
|其他设置： 按首字母排序 | 按功能排序|
The file system path of the folder where uploaded files will be stored.
This location needs to be writable by the web server. See Manual:Configuring file uploads#Check directory security.
By default, uploaded files are actually stored in subfolders of $wgUploadDirectory. See Manual:Configuring file uploads#Upload directory for information, and how to disable this behavior.
LocalSettings.phpthen all dependent variables including
$wgUploadPathwill need redefining also. If both these settings are not coherent the files will be uploaded to different folder (
$wgUploadDirectory) than from where MediaWiki will try to retrieve it for viewing (