Manual:$wgAllowImageMoving/en

Details
Allows users to move (rename) images and other media files.

The ability of a user to move files is controlled by the  user right. By default, this right is assigned to the  group (all logged-in users). See for more information.

Despite the name, this setting affects all uploaded files, including videos and documents.