Manual:$wgHashedSharedUploadDirectory/ru

Category:MediaWiki configuration settings/ru#HashedSharedUploadDirectoryCategory:MediaWiki configuration settings introduced in version 1.3.8/ru#HashedSharedUploadDirectoryCategory:MediaWiki configuration settings still in use/ru#HashedSharedUploadDirectoryCategory:Shared uploads variables/ru#HashedSharedUploadDirectory
Shared uploads: $wgHashedSharedUploadDirectory
Whether to hash the shared upload directory.
Введено в версии:1.3.8
Удалено в версии:всё ещё используется
Допустимые значения:(boolean)
Значение по умолчанию:true

Details

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. If false, all images are uploaded in /images folder itself, see also 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.

См. также

Category:MediaWiki configuration settings/ru Category:MediaWiki configuration settings introduced in version 1.3.8/ru Category:MediaWiki configuration settings still in use/ru Category:Shared uploads variables/ru