Page MenuHomePhabricator

Add new setting option switch whether case-sensitive or case-insensitive upload file extension name checking.
Open, LowPublicFeature

Description

Author: yaohua2000

Description:
I do not want to see people upload files with upper case extension name such as Image.JPG to my MediaWiki installation. Currently, there is no setting option to switch between case-sensitive and case-insensitive.


Version: unspecified
Severity: enhancement

Details

Reference
bz12992

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 10:04 PM
bzimport set Reference to bz12992.
bzimport added a subscriber: Unknown Object (MLST).

Parameter for case sensitive extension matching

Attached:

Would definitely not want this to be a *setting*.

All new uploads should be normalized for sanity's sake; however compatibility should be retained for re-uploading new versions of old files.

mwander wrote:

I'd like to second that request.

Commons does not allow you to rename an image from $oldname.JPG to $oldname.jpg as $oldname did not change. It should enforce lowercase file extension.

Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 11:01 AM
Aklapper removed a subscriber: wikibugs-l-list.