MediaWiki already provides support for sharding backend storage
in FileBackendStore, file backends inheriting from this need
only set the shardViaHashLevels property to enable it.
If somebody wants or I get the time it's possible to add support for generating the proper configuration for sharded buckets, but this simply setting the property if passed is enough to get everything to work if you manually configure the containerPaths and shardViaHashLevels properties.
If somebody wants or I get the time it's possible to add support for generating the proper configuration for sharded buckets, but this simply setting the property if passed is enough to get everything to work if you manually configure the containerPaths and shardViaHashLevels properties.