Manual:$wgHashedUploadDirectory/pl

Szczegóły
If, uploaded files will be distributed into sub-directories of  based on the first two characters of the md5 hash of the filename. (np. ) Creation of such subdirectories is handled automatically. This is used to avoid having too many files in one folder because some filesystems don't perform well with large numbers of files in one folder.

The algorithm for that is based on a md5 of the name, the first hex character is used for the first directory, then the first two characters are used for the subdirectory.


 * → md5 nazwy pliku =  → f + f8 = /images/f/f8/Foo.png

If, all images are uploaded in  itself. (np. $file)

If you set, this variable will be ignored.



Zobacz też

 * — for shared uploads.
 * — for changing the hash level (number of characters used from the hash).