|Files with these extensions will never be allowed as uploads.
|Introduced in version:||1.2.0|
|Removed in version:||still in use|
|Default value:||(see below)|
Details[edit | edit source]
Files with these extensions will never be allowed as uploads if $wgCheckFileExtensions is set to true.
$wgFileBlacklist overrides $wgFileExtensions, so you must remove an extension from the blacklist before you can upload files that have it. For instance, to allow users to upload executables, add this to LocalSettings.php:
$wgFileExtensions = 'exe'; $wgFileBlacklist = array_diff( $wgFileBlacklist, array ('exe') );
History[edit | edit source]
- 'cgi' was added in 1.3.8
- 'js' and 'jsb' were added in 1.5.0
- 'php5' was added in 1.8.0
See also[edit | edit source]
|Language:||English • italiano • 日本語 • polski • русский|