Podręcznik:$wgUploadSizeWarning
Appearance
Files and file uploads: $wgUploadSizeWarning | |
---|---|
Warn if uploaded files are larger than this. |
|
Wprowadzono w wersji: | 1.3.0 |
Usunięto w wersji: | nadal w użyciu |
Dozwolone wartości: | (integer >= 0) |
Domyślna wartość: | false (1.13+)
150000 (1.3-1.4) |
Inne ustawienia: Alfabetycznie | Według funkcji |
Szczegóły
Warns the user if they attempt to upload a file larger than this value, specified in bytes.
Setting $wgUploadSizeWarning
to zero bytes will disable the warning.
If triggered, the warning will inform the user that files are recommended to be smaller than this value.
The user can choose to ignore the warning and upload the file.
Zobacz też
- $wgMaxUploadSize (domyślnie 100 MB)