Last modified: 2007-06-24 22:34:41 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T11250, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 9250 - You cannot upload files with names of < 3 characters
You cannot upload files with names of < 3 characters
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Uploading (Other open bugs)
unspecified
All All
: Normal normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-03-11 07:53 UTC by Robert Leverington
Modified: 2007-06-24 22:34 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Robert Leverington 2007-03-11 07:53:02 UTC
It is not possible to upload files with less than three characters (excluding
the file extension and Image: prefix). It would be quite useful to be able to do
this as there are a lot of purposes it could serve. Indeed there are many words
which are two (or even one) letter long and sometimes letters and numbers are
uploaded, in which case a single letter filename would be appropriate. I would
have tagged it with easy, but it might not be ;)
Comment 1 Robert Leverington 2007-03-11 08:03:56 UTC
see [[bug:9251]] also.
Comment 2 Rob Church 2007-03-26 23:35:06 UTC
Seems to be an explicit limit; no rationale given in comments, but I guess it
was a measure to cut down on drive-by uploading of files with crappy or useless
filenames.
Comment 3 Robert Leverington 2007-06-24 12:14:19 UTC
I can understand that reasoning, but for closed-editing wikis it would be useful to at least be able to set this in LocalSettings.php - please reconsider.
Comment 4 Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-06-24 22:34:41 UTC
This kind of restriction is not appropriate on the software level.  Inappropriate images should be renamed, and names that are unwanted a priori in a particular wiki can be protected to avoid uploads to those names.

Fixed in r23339.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links