< Extension:MediaUploader < Configuration

General

defaultCampaign

Default campaign to load when no other campaign was specified. Usually should be left empty.

Default
$wgMediaUploader['defaultCampaign'] = '';

maxUploads

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

You should not modify these settings, unless you think you know what you are doing.

campaignCdnMaxAge

Number of seconds to cache Campaign pages in the CDN, for anonymous users.

Default
$wgMediaUploader['campaignCdnMaxAge'] = 10 * 60; // 10 minutes

campaignStatsMaxAge

Number of seconds to cache Campaign stats. Affects: uploaded media list and contributors count.

Default
$wgMediaUploader['campaignStatsMaxAge'] = 60;

chunkSize

When uploading large files, what size, in bytes, should each chunk be.

Default
$wgMediaUploader['chunkSize'] = 5 * 1024 * 1024;

maxSimultaneousConnections

Maximum number of simultaneous upload requests.

Default
$wgMediaUploader['maxSimultaneousConnections'] = 3;
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.