Manual:$wgVerifyMimeType

From MediaWiki.org
Jump to: navigation, search

Other languages:
català • ‎Deutsch • ‎English • ‎español • ‎suomi • ‎français • ‎italiano • ‎日本語 • ‎Nederlands • ‎polski • ‎português • ‎português do Brasil
MIME types: $wgVerifyMimeType
Determines if the MIME type of uploaded files should be checked.
Introduced in version: 1.5.0
Removed in version: still in use
Allowed values: (boolean)
Default value: true
Other settings: Alphabetical | By function

Details[edit]

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

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

See also[edit]