Manual:$wgHashedSharedUploadDirectory/ko
Appearance
| Shared uploads: $wgHashedSharedUploadDirectory | |
|---|---|
| Whether to hash the shared upload directory. |
|
| 이 변수가 소개된 버전: | 1.3.8 |
| 이 변수가 사라진 버전: | 계속해서 쓰이고 있음 |
| 허용값: | (boolean) |
| 기본값: | true |
| 기타 설정: 알파벳 순 | 기능별 순 | |
상세
If you operate multiple wikis, you can define a shared upload path using $wgSharedUploadPath.
If $wgUseSharedUploads is set, the wiki will look in the shared repository if no file of the given name is found in the local repository (for [[Image:..]], [[Media:..]] links).
If true, new subdirectory is created in /images folder (e.g. /images/a/ab/foo.jpg) for each file upload.
false인 경우, 모든 이미지는 /images 폴더 자체에 업로드됩니다. Manual:$wgHashedUploadDirectory도 참고하세요.
Set this setting to false especially if you have a set of files that need to be accessible by all wikis, and you do not want to use the hash (path/a/aa/) directory layout.
Setting this to true is equivalent to setting the hashLevels property in $wgForeignFileRepos to 2.
같이 보기
- $wgForeignFileRepos - a more flexible way of configuring shared upload repositories (and the only way, if you want to set up more than one shared upload source)
- $wgUseSharedUploads
- $wgSharedUploadPath
- $wgSharedUploadDirectory
- $wgHashedUploadDirectory