Upload files in wiki

mediawiki creates folders like f/f0, e/e5 etc. to store uploaded files in them. I am curious to know how is its system and how will it know which file is in which folder?

It’s probably calculating the checksum of each file and then split it in directories of the first few characters.

This prevents getting too many files in a single directory.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.