Last modified: 2006-06-04 01:28:10 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 1758 - Upload filename minimum length counts only to first period
Upload filename minimum length counts only to first period
Product: MediaWiki
Classification: Unclassified
Uploading (Other open bugs)
All All
: Normal normal with 3 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
: 1883 2040 (view as bug list)
Depends on:
  Show dependency treegraph
Reported: 2005-03-26 06:29 UTC by Koyaanis Qatsi
Modified: 2006-06-04 01:28 UTC (History)
2 users (show)

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


Description Koyaanis Qatsi 2005-03-26 06:29:16 UTC
The count on the number of characters in a filename is stopped at the first
period.  e.g. trying to upload an image called "D. A. Pennebaker CU.jpg" returns
the error "File names must be at least three letters."  After some slight
experimentation I found out that removing the periods allowed the file to be
uploaded, hence this bug report.

I doubt this is very common (or, for that matter, very critical); I can think of
only a few people who go by initials, and I imagine most people would try
renaming the file.  Maybe just add a short note to the upload page?
Comment 1 Brion Vibber 2005-03-26 06:37:30 UTC
Better handling may be to strip all periods but the last.
Comment 2 Koyaanis Qatsi 2005-03-26 07:20:15 UTC
Erm.  That's what I mean; that's what I had to figure out to do.  :-)(In reply
to comment #1)
Comment 3 Brion Vibber 2005-04-13 06:48:50 UTC
*** Bug 1883 has been marked as a duplicate of this bug. ***
Comment 4 Brion Vibber 2005-05-01 07:19:22 UTC
*** Bug 2040 has been marked as a duplicate of this bug. ***
Comment 5 David Benbennick 2005-08-04 22:24:35 UTC
The software should simply count the length to the last period, not 
the first.  I ran into this bug today with
[[Image:E.T. poster.jpg]]
Comment 6 Felipe Corrêa da Silva Sanches 2005-08-17 14:35:28 UTC
in my wiki I allow .tar.gz files, but when I try to upload a file like
pfbgimage-0.02.tar.gz it tells me that ".02.tar.gz" is not allowed.

So, its not a matter of renaming because it would mess with the convention of

the files shoudn´t be renamed and the file extension validator should parse the
filename from right to left. (not necessarilly stopping at the first period from
right to left - see the .tar.gz example)
Comment 7 Rob Church 2006-06-04 01:28:10 UTC
I remember fixing this just before the 1.6.0 release.

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