Manual:$wgAllowImageMoving

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