Manual:$wgAllowImageMoving

Details
Allows to move images and other media files. Experemintal, not sure if it always works.