Manuel:$wgHashedSharedUploadDirectory
Téléversements partagés: $wgHashedSharedUploadDirectory | |
---|---|
Whether to hash the shared upload directory. |
|
Introduit dans la version : | 1.3.8 |
Retiré dans la version : | Encore utilisé |
Valeurs autorisées : | (booléen) |
Valeur par défaut : | true |
Autres paramètres : Alphabétique | Par Fonction |
Détails
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.
Si false
, toutes les images sont téléchargées dans le dossier /images
lui-même, voir aussi Manuel:$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.
Définir à true revient à définir la propriété hashLevels
dans $wgForeignFileRepos
à 2
.
Voir aussi
- $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