[14:17:33] how are files stored at commons.wikimedia.org? All files are called "File:" without a file tree, so I'm interested to know if they're all stored in the same folder?! [14:21:37] zPlus: the mapping from to actual storage path is stored in a database [14:22:53] small installations can put everything in a single folder, but large installation will often use bucket backend. I don't know how commons.wikimedia.org is set up. [14:25:31] no, there are subfolders based on the first 2 characters of the SHA1 hash of the filename. there's a MediaWiki setting that controls this that i'm struggling to look up right now [14:25:42] (e.g. the 6 and 6a in https://upload.wikimedia.org/wikipedia/commons/6/6a/PNG_Test.png) [14:26:01] aha. https://www.mediawiki.org/wiki/Manual:$wgHashedUploadDirectory [14:26:08] and it's apparently a MD5 hash, not SHA1 :) [14:26:58] Wikimedia wikis also use Swift for file storage, rather than just a filesystem, but the internal paths still use those prefixes [14:40:27] thank you. Does "bucket backend" mean something in particular? Or is it just a way of saying that files are grouped by the first 2 characters of their hash? [15:04:13] zPlus: I mean a protocol like Swift or S3 - which itself has a database to map object names to where the data is stored [15:04:45] a bucket storage has immutable objects - you can't change data in the middle of an existing object (file). [15:05:24] so they are also called content adressable stores, since you can use the hash of the file to identify them or distribute them [20:46:47] Hi, I have a lot of images in my server, every image is duplicated many times as thumbnails in many size. im trying to find a way to limit the variety of thumbnails in order to reduce files count. I got to this: https://m.mediawiki.org/wiki/Manual:$wgThumbLimits  , does it will remove any old thumbnail that will be redundant after ill limit for [20:46:48] lower number of thumbnail option? Thanks [20:57:26] no you will need to manually clean up old thumbnails [21:01:17] How can i identify them? [21:03:41] Guest62: the "simple" way would be to delete all the old thumbnails and let new ones be created as requested using a "thumbnail on 404" setup. -- https://www.mediawiki.org/wiki/Manual:Thumb_handler.php