Last modified: 2010-05-15 15:37:51 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 T6070, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 4070 - Will not upload .ogg files
Will not upload .ogg files
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
1.5.x
PC Windows XP
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://www.byronbayattitude.com
:
Depends on:
Blocks:
  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: ---


Attachments

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 
field.

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 
database?

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

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
branch.
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 
and
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)

http://www.byronbayattitude.com/wiki/index.php/Special:Upload

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 
finish 
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:
http://meta.wikimedia.org/wiki/Uploading_files#How_to_Upload_Non_Image_Files.3F

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:
* http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
* http://www.catb.org/~esr/faqs/smart-questions.html

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,

Sol.
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,

Sol.

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


Navigation
Links