Manual talk:$wgFileExtensions

1
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

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

-Tom

-the problem was that the filesize was too long

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)