Manual talk:$wgMaxUploadSize

hi,

could someone enhance this page?

I just don't understand two things:


 * does this variable intend to limit the size of 1 upload, or the whole directory of upload?
 * what is the type of the value it must be set to? string as "1024 * 1024 * 100"? integer? representing bytes? MO?


 * This is the maximum size of any single image. It is applied at the time of upload, so lowering this value at a later date won't remove existing files that are now 'too large'.  The value is the maximum size of the file in bytes.  There are 1024 bytes in a kilobyte, and 1024 kilobytes in a megabyte, so 1024 * 1024 * 100 = 100 megabytes. I will factor this into the page. --HappyDog 17:26, 9 April 2007 (UTC)


 * So I have an issue, and I can't find any help on it at all. I am using Mediawiki 1.8.2
 * In my LocalSettings.php I have $wgMaxUploadSize = 1024*1024*100 #this is equivalent to 100 megs
 * When I try to upload a file that is only 2.5 megs, I get the error...
 * This file is bigger than the server is configured to allow.
 * What am I missing here? --Jakobud 23:47, 29 May 2007 (UTC)
 * The limitation is not in MediaWiki -- it is in PHP. There is a default upload and post limit of 2.5MB.  See the two links I added to the bottom of the Manual page.  -- 165.124.111.179 00:10, 1 June 2007 (UTC)