Manual:$wgStrictFileExtensions/ko
Appearance
| Files and file uploads: $wgStrictFileExtensions | |
|---|---|
Toggle whether users may upload files not covered by $wgFileExtensions. |
|
| 이 변수가 소개된 버전: | 1.2.0 |
| 이 변수가 사라진 버전: | 계속해서 쓰이고 있음 |
| 허용값: | (boolean) |
| 기본값: | true |
| 기타 설정: 알파벳 순 | 기능별 순 | |
상세
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).