Last modified: 2010-05-15 15:37:51 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 4070 - Will not upload .ogg files
Will not upload .ogg files
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
PC Windows XP
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2005-11-25 02:56 UTC by Sol Millin
Modified: 2010-05-15 15:37 UTC (History)
0 users

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


Description Sol Millin 2005-11-25 02:56:23 UTC
Text on upload screen says 'You must also check the box affirming that you are not 
violating any copyrights by uploading the file. Press the "Upload" button to finish 
the upload.'

Only problem is, there is no check box on the screen!! and the upload fails.

Love and peace,

Sol Millin.
Comment 1 Daniel Kinzler 2005-11-25 02:58:43 UTC
Is this really specific to ogg files, or does the same thing happen for all
files? Or for some other files, too?
Comment 2 Sol Millin 2005-11-25 03:11:36 UTC
Well, let's put it this way...

The lack of the check box is general. ie. the page does not have the check box on 
it for any filetype (to my knowledge)

I have been able to upload .jpg files OK in the past, so it would appear to have 
something to do with the .ogg file suffix.
Comment 3 Ævar Arnfjörð Bjarmason 2005-11-25 03:45:03 UTC
Describe in detail exactly what you did.
Comment 4 Sol Millin 2005-11-25 05:54:35 UTC
Why don't you try it?
Comment 5 Sol Millin 2005-11-25 06:50:16 UTC
One thing I can say, is that I have not included any fancy descriptions or 
categories or {{CCCCC}} data, copyright details, etc. etc. in the description 

A 'normal' user wouldn't have a clue how to do this.

Do you need to do this in order to get a file accepted into the mediawiki 1.5.2 

If so, I would think the upload feature in 1.5.2 is unuseable by normal human 

I notice wikipedia using 1.6devl has a more sophisticated copyright pull down 
system which I tested with the same .ogg file, and which uploads correctly.
Comment 6 Rob Church 2005-11-25 12:43:43 UTC
The problem is that, if I remember correctly, older versions of MediaWiki do
specify that a checkbox is to be marked, but that there is indeed no checkbox. I
*think*, although haven't yet tested, that this has disappeared from the 1.5.x
Comment 7 Brion Vibber 2005-11-25 19:55:11 UTC
.ogg is not on the default file extension whitelist. See includes/DefaultSettings.php 
for default settings and configuration documentation.
Comment 8 Sol Millin 2005-11-27 00:13:48 UTC
I have taken the trouble to search 1.5.2 includes/DefaultSettings.php repeatedly 
cannot find any default file extension whitelist that does or does not 
include .ogg.

I find it somewhat un-professional of Brion Vibber to remove this bug and mark it 
Resolved(invalid) when it isn't.

If he would care to try the url (he will have to login first)

He will notice that the original statement is true, ie.

Text on upload screen says 'You must also check the box affirming that you are not 
violating any copyrights by uploading the file. Press the "Upload" button to 
the upload.'

Only problem is, there is no check box on the screen!! and the upload fails.

Love and peace,

Sol Millin.

I would regard this as a serious bug in 1.5.2

I may be wrong, since I am new to mediawiki.

Comment 9 Brion Vibber 2005-11-27 00:52:09 UTC
I find it extraordinarily unprofessional of you to waste our time without checking 
your own configuration or providing us with the details of your configuration needed 
to diagnose a problem. You have not paid for any kind of support, and even if we were 
under an obligation to help you we can't do so if you won't do the basic research to 
provide your configuration information.

If you can't find the default file extension whitelist in that file, I recommend you 
go back and look again: either your files are irretrievably corrupt, or you weren't 
looking very closely:

 * This is the list of preferred extensions for uploading files. Uploading files
 * with extensions not in this list will trigger a warning.
$wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg' );

See for example:

Before continuing, I recommend you read some general guides on how to effectively 
diagnose problems in a way that you might be able to get useful help:

If you still have a problem after enabling .ogg upload, please reopen the bug with 
additional information (such as your configuration changes and a sample file).
Comment 10 Sol Millin 2005-11-27 02:06:28 UTC
Thank you for your quick reply... and for the detailed info of $wgFileExtensions 
which was explicit and easy to find in includes/DefaultSettings.php.  (much easier 
than the non-existent word 'whitelist' of your previous email)

My testing of the first bug stands... as accurate... please re-read it and I hope, 
include a fix...

After receiving this new info from you, my testing after this last email of yours 
has highlighted a further bug... namely... if a file is not part of the 
$wgFileExtensions, a warning is received... AND THE FILE IS NOT STORED... is this 
the behaviour that you wish?  If so, it would be reasonable to put in a further 
user message eg. 'This file will not be stored'

I certainly appreciate very much the work you are all doing... good on you!... 
keep it up...

And thank you for your advice.

Love and peace,

Comment 11 Brion Vibber 2005-11-27 02:21:25 UTC
Indeed, it's not stored as that would be extremely unsafe.

If you are running a private wiki with significant safeguards, you can disable that. 
(Your wikis not such a wiki as it is publically accessible. You should not do this. 
Please see includes/DefaultSettings.php for details. Please try to use your own eyes 
to look at the available settings and interpret the comments. Please try to actually 
read. Please try to actually look at what's available, understand what it means, and 
try to do this on your own.)

You again have failed to provide any exact information on what you have done. Please 
do not ask for more help again until you have provided the exact configuration changes 
you have made. Please read the links I gave you above which contain pointers on 
providing enough information that people can help you.

Please do not continue until you have done all of these things.
Comment 12 Sol Millin 2005-11-27 06:06:14 UTC
Mate, you've got a ego problem.

Thank you for helping me.  I've resolved the problem I had with your help.

If you're not prepared to accept that I have highlighted bugs in mediawiki, well 
so be it.

Love and peace,


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