MediaWiki:Config-upload-help
Appearance
File uploads potentially expose your server to security risks. For more information, read the security section in the manual.
To enable file uploads, change the mode on the ./images
subdirectory under MediaWiki's root directory so that the web server can write to it.
Then enable this option.