Manual talk:$wgFileExtensions

1 File Type Errors
I have done this... and the 'ppt' and 'xls' do not work. All others in the array do work. What is wrong?

cody@surweb.org

I am having the same problem as cody is in regards to 'xls' files. It's CLEARLY in the array, and other files in the array work just fine. Attempting to upload .xls files results in "The file is corrupt or has an incorrect extension. Please check the file and upload again." Does anyone have any suggestions? Thanks! Giania@gmail.com

uploading pdf files work for me, but I still cannot upload mp3 files

-Tom

-the problem was that the filesize was too long

Upload exe-files
I can't enable the file upload of exe-files. I added the fileextension ("exe" and even ".exe"), and looked for the file-size in php.ini

2 Description page for PDF Files is not visible / empty
? Any Hints ?

THX, Heinz

Needs Updating
This page is very un-clear about what the default values are for recent versions of the software.
 * Say you want to enable *.mp3 or *.mov files for uploading, simply add something like:

$wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'mp3', 'pdf', 'doc', 'mov', 'zip')
 * and make sure no other extension lines oppose that (such as $wgStrictFileExtensions, both on true and false) and that will work. It works fine for me anyway :) --87.69.58.71 12:15, 28 October 2006 (UTC)

Old defaults
The default settings listed for old versions are correct, contrary to the recent edit summary by Hoggwild5. You may have all the old versions of MediaWiki, but you clearly haven't looked at them (just one example). Perhaps if you have some spare time you could check out more recent versions and fill in the defaults, as per the above request. --HappyDog 23:18, 12 June 2007 (UTC)
 * No need to get nasty. I have no problem owning errors, but you don't have to publicly thrash someone -- it's really uncalled for. Thanks for pointing this out. My bad. --Hoggwild5 19:47, 14 December 2007 (UTC)
 * It wasn't intended to be nasty. I have manually checked all versions up to 1.8.0, and the values that I put back were correct up to that point.  Your changes were not.  Now someone else has messed with the defaults - I don't have time to fix it right now, but I will do soon (as well as getting it up to date).  It is also important to keep previous versions, so perhaps the current setting is correct for 1.12, but in either case the old values should not be deleted. My comment was to back up my reversion of your edits, as otherwise there would have been no explanation for changing something that was stated to be manually checked.  --HappyDog 11:46, 17 December 2007 (UTC)
 * Whatever the reason for your comments, there are constructive ways to deliver criticism, and then there are other ways. I have no problem with constructive criticism. --Hoggwild5 15:13, 17 December 2007
 * I'm sorry, but I don't see how my comment was anything other than constructive! I corrected your mistake, I directed you to a link for more information about why it was a mistake, and pointed out some other work that needed doing in case you were interested in helping further.  What more could I do than that? --HappyDog 16:06, 17 December 2007 (UTC)
 * Look, we're just going to have to agree to disagree here. I do not view the criticisms you delivered as constructive given the manner in which they were delivered, but given that you have links on your talk page to "nasty stuff", I think you're probably already aware of that.  Going forward, you might want to think about using a variation of the "7 second rule" before you post.  Thanks! --Hoggwild5 22:46, 17 December 2007 (UTC)
 * If you want to view them that way, that's fine. That wasn't how they were meant and I'm sorry that you take offence that easily.  --HappyDog 23:09, 17 December 2007 (UTC) btw - please take the 'nasty stuff' link in context... there is an element of cheek-tonguing going on there... :)

What file is this variable in?
Which file is this variable located in? LocalSettings.php?
 * All configuration options go into LocalSettings.php. That doesn't mean all are there from the start. But you can add them. See Manual:LocalSettings.php and Manual:Configuration settings -- Duesentrieb ⇌ 21:37, 24 October 2007 (UTC)