Page MenuHomePhabricator

Will not upload .ogg files
Closed, InvalidPublic

Description

Author: sol

Description:
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.


Version: 1.5.x
Severity: normal
OS: Windows XP
Platform: PC
URL: http://www.byronbayattitude.com

Details

Reference
bz4070

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 8:57 PM
bzimport set Reference to bz4070.
bzimport added a subscriber: Unknown Object (MLST).

Is this really specific to ogg files, or does the same thing happen for all
files? Or for some other files, too?

sol wrote:

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.

avarab wrote:

Describe in detail exactly what you did.

sol wrote:

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.

robchur wrote:

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.

.ogg is not on the default file extension whitelist. See includes/DefaultSettings.php
for default settings and configuration documentation.

sol wrote:

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.

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:

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

sol wrote:

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.

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.

sol wrote:

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.