Manual:$wgDirectoryMode/de

Details
Default  permission value for newly created directories. Don't forget to specify the leading 0, since this is an octal value.

On Windows, this value is ignored.

This is used by  to create image directories, among other things.