mime
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
mime [2022-01-29 23:51] – restore png, as svg files are not yet allowed here for displaying Klap-in | mime [2023-02-27 14:35] (current) – Link to new Repo saggi | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== MIME configuration ====== | ====== MIME configuration ====== | ||
- | Which file types you can upload via the [[media manager|media manager popup]] or the [[fullscreen mediamanager|fullscreen media manager]] is configured through the '' | + | Which file types you can upload via the [[media manager|media manager popup]] or the [[fullscreen mediamanager|fullscreen media manager]] is configured through the '' |
For security reasons it is not possible to configure [[DokuWiki]] to allow any file type. | For security reasons it is not possible to configure [[DokuWiki]] to allow any file type. | ||
Line 7: | Line 7: | ||
:!: **Never enable HTML upload for unprotected wikis**, as this opens Cross Site Scripting vulnerabilities through JavaScript. Only enable this with trusted users. You need to disable the [[config: | :!: **Never enable HTML upload for unprotected wikis**, as this opens Cross Site Scripting vulnerabilities through JavaScript. Only enable this with trusted users. You need to disable the [[config: | ||
- | The icons are created | + | You can find any file extension |
- | You can find any file extension | + | For Hogfather 2020 release and older, the icons were created |
===== Adding additional Mime Types ===== | ===== Adding additional Mime Types ===== | ||
Line 34: | Line 34: | ||
==== File type icons ==== | ==== File type icons ==== | ||
- | File type icons can be added by placing an image file (SVG ([[devel: | + | File type icons can be added by placing an image SVG file named after the file extension into '' |
+ | |||
+ | Since Igor 2022 release //only// SVG icons are automatically recognized. See also this forum post about a [[https:// | ||
+ | |||
+ | From Hogfather 2020 and older //only// PNG((Icons must be 16x16.)) or GIF((Icons must be 16x16.)) are automatically recognized in the folder '' | ||
Line 42: | Line 47: | ||
^ Extension | ^ Extension | ||
- | | jpg | image/ | + | | jpg | image/ |
- | | jpeg | image/ | + | | jpeg | image/ |
- | | gif | image/ | + | | gif | image/ |
- | | png | image/ | + | | png | image/ |
- | | swf | + | | ico |
- | | mp3 | audio/ | + | | svg | image/ |
- | | ogg | audio/ | + | | mp3 | audio/ |
- | | wav | audio/ | + | | ogg | audio/ |
- | | tgz | !application/ | + | | wav | audio/ |
- | | tar | !application/ | + | | webm | video/ |
- | | gz | !application/ | + | | ogv | video/ |
- | | bz2 | !application/ | + | | mp4 | video/ |
- | | zip | !application/ | + | | vtt | text/ |
- | | rar | !application/ | + | | tgz | !application/ |
- | | 7z | !application/ | + | | tar | !application/ |
- | | pdf | application/ | + | | gz | !application/ |
- | | ps | !application/ | + | | bz2 | !application/ |
- | | rpm | !application/ | + | | zip | !application/ |
- | | deb | !application/ | + | | rar | !application/ |
- | | doc | !application/ | + | | 7z | !application/ |
- | | xls | !application/ | + | | pdf | application/ |
- | | ppt | !application/ | + | | ps | !application/ |
- | | rtf | !application/ | + | | rpm | !application/ |
- | | docx | !application/ | + | | deb | !application/ |
- | | xlsx | !application/ | + | | doc | !application/ |
- | | pptx | !application/ | + | | xls | !application/ |
- | | sxw | !application/ | + | | ppt | !application/ |
- | | sxc | !application/ | + | | rtf | !application/ |
- | | sxi | !application/ | + | | docx | !application/ |
- | | sxd | !application/ | + | | xlsx | !application/ |
- | | odc | !application/ | + | | pptx | !application/ |
- | | odf | !application/ | + | | sxw | !application/ |
- | | odg | !application/ | + | | sxc | !application/ |
- | | odi | !application/ | + | | sxi | !application/ |
- | | odp | !application/ | + | | sxd | !application/ |
- | | ods | !application/ | + | | odc | !application/ |
- | | odt | !application/ | + | | odf | !application/ |
+ | | odg | !application/ | ||
+ | | odi | !application/ | ||
+ | | odp | !application/ | ||
+ | | ods | !application/ | ||
+ | | odt | !application/ | ||
The following text types are commented by default, because spammers are known to upload spam pages through unprotected Wikis using text type files. | The following text types are commented by default, because spammers are known to upload spam pages through unprotected Wikis using text type files. | ||
- | | html | text/ | + | | html | text/ |
- | | htm | text/ | + | | htm | text/ |
- | | txt | text/ | + | | txt | text/ |
- | | conf | text/ | + | | conf | text/ |
- | | xml | text/ | + | | xml | text/ |
- | | csv | text/ | + | | csv | text/ |
mime.1643496673.txt.gz · Last modified: 2022-01-29 23:51 by Klap-in