Manual:$wgAntivirus

From Linux Web Expert

<translate> Antivirus</translate>: $wgAntivirus
Internal name of virus scanner.
<translate> Introduced in version:</translate>1.5.0
<translate> Removed in version:</translate><translate> still in use</translate>
<translate> Allowed values:</translate><translate> Unspecified</translate>
<translate> Default value:</translate>null

Details

Use this setting to select a virus scanner from the list in the $wgAntivirusSetup array. This serves as a key to the $wgAntivirusSetup array, e.g. 'clamav'.

If you set this variable to something other than null, and $wgAntivirusSetup is set correctly, every file uploaded will be scanned for viruses.

See also