Manual:$wgAllowImageMoving

Details
Allows to move images and other media files.