$wgMaxUploadSize may now be set to an array to specify the upload size limit per...
authorBryan Tong Minh <btongminh@users.mediawiki.org>
Thu, 6 Jan 2011 19:42:55 +0000 (19:42 +0000)
committerBryan Tong Minh <btongminh@users.mediawiki.org>
Thu, 6 Jan 2011 19:42:55 +0000 (19:42 +0000)
commitdb544af120d640a39f6819bbfb2318f23f820fd9
treee8c2d5e30e3207ab73ed342a33a6b9414f9d8776
parentdcb603bc61ef8f61f35b93c136cebf15ea29c7c1
$wgMaxUploadSize may now be set to an array to specify the upload size limit per upload type.

Backwards compatible, if not set to an array, applies to all uploads. If set to an array, per upload type maximums can be set, using the file and url keys. If the * key is set this value will be used as maximum for non-specified types.
RELEASE-NOTES
includes/DefaultSettings.php
includes/specials/SpecialUpload.php
includes/upload/UploadBase.php
includes/upload/UploadFromFile.php
includes/upload/UploadFromStash.php
includes/upload/UploadFromUrl.php