Manual:$wgStrictFileExtensions/de-formal

From Linux Web Expert

Revision as of 17:55, 27 September 2023 by imported>FuzzyBot (Updating to match new version of source page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<translate> Files and file uploads</translate>: $wgStrictFileExtensions
Toggle whether users may upload files not covered by $wgFileExtensions .
<translate> Introduced in version:</translate>1.2.0
<translate> Removed in version:</translate><translate> still in use</translate>
<translate> Allowed values:</translate>(boolean)
<translate> Default value:</translate>true

Details

If set to true, users will only be able to upload files with specifically permitted extensions (see $wgFileExtensions ).

If set to false, users will be able to upload files with almost any extension. A user attempting to upload a file whose extension is not in $wgFileExtensions will receive a warning message. However, they may choose to ignore the message and upload the file anyway (assuming the file's extension is not in the $wgProhibitedFileExtensions ).

File:OOjs UI icon notice-destructive.svg <translate> Warning:</translate> Setting this to false is insecure for public wikis.

See also