Manual:$wgVerifyMimeType/ru

From Linux Web Expert

Revision as of 00:48, 6 December 2023 by imported>FuzzyBot (Updating to match new version of source page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<translate> MIME types</translate>: $wgVerifyMimeType
Determines if the MIME type of uploaded files should be checked.
<translate> Introduced in version:</translate>1.5.0
<translate> Removed in version:</translate><translate> still in use</translate>
<translate> Allowed values:</translate>(boolean)
<translate> Default value:</translate>true

Details

Determines if the MIME type of uploaded files should be checked.

If this is set to false, the MIME type blacklist ($wgMimeTypeBlacklist ) is ignored. The check to make sure the MIME type of the uploaded file matches the file extension is also bypassed.

См. также