Manual:$wgAllowImageMoving

Images: $wgAllowImageMoving
Enable file renaming.
Introduced in version:1.13.0 (r34169)
Deprecated in version:1.35.0 (Gerrit change 602792; git #9d91c4c6)
Removed in version:1.36.0 (Gerrit change 626902; git #7d80fc0a)
Allowed values:(boolean)
Default value:true (1.14 – 1.35)
false (1.13)

Details edit

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

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

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