Extension:MediaUploader/Configuration/Other
General
editdefaultCampaign
edit
Default campaign to load when no other campaign was specified. Usually should be left empty.
- Default
$wgMediaUploader['defaultCampaign'] = '';
maxUploads
edit
Maximum number of files that can be uploaded at once.
Keys:
- * – everyone
- mass-upload – users with the
massUpload
user right
- Default
$wgMediaUploader['maxUploads'] = [
'*' => 50,
'mass-upload' => 500,
];
Advanced
editYou should not modify these settings, unless you think you know what you are doing.
campaignCdnMaxAge
edit
Number of seconds to cache Campaign pages in the CDN, for anonymous users.
- Default
$wgMediaUploader['campaignCdnMaxAge'] = 10 * 60; // 10 minutes
campaignStatsMaxAge
editNumber of seconds to cache Campaign stats. Affects: uploaded media list and contributors count.
- Default
$wgMediaUploader['campaignStatsMaxAge'] = 60;
chunkSize
editWhen uploading large files, what size, in bytes, should each chunk be.
- Default
$wgMediaUploader['chunkSize'] = 5 * 1024 * 1024;
maxSimultaneousConnections
edit
Maximum number of simultaneous upload requests.
- Default
$wgMediaUploader['maxSimultaneousConnections'] = 3;