At the moment the upload of dia-files (for flowcharts) is not possible in the OTRS-wiki. While the upload-formular says that »dia« is a allowed file-ending, the wiki denies the upload with a complain about the MIME-type »application/x-gzip«.
|operations/mediawiki-config||master||+2 -1||To allow dia-files (for flowcharts) we need to whitelist x-gzip|
Maybe https://noc.wikimedia.org/conf/highlight.php?file=CommonSettings.php needs a change?:
# Dia Diagrams files --fred. $wgFileExtensions = 'dia'; // To allow OpenOffice doc formats we need to not blacklist zip files $wgMimeTypeBlacklist = array_diff( $wgMimeTypeBlacklist, array( 'application/zip' ) );
application/x-gzip seems not whitelisted, only application/zip
This turns out not to be the case, as application/x-gzip is not blacklisted to begin with.
What's going on here is that a "compressed" dia file is really just a gzipped dia file, which is detected as "application/x-gzip" rather than "application/x-dia-diagram". This is technically correct, but not terribly helpful. It's also reminiscent of T6947.
If nothing else, you could uncompress your compressed dia files before uploading them.