I'm having a heck of a time getting our internal MediaWiki to allow CONF file uploads. A CONF file is just a plain text file with a
...\LocalSettings.php, I added
conf to the array of
$wgFileExtensions. The extensions are recognized after an apache restart (see the preferred file types in the image below).
$wgCheckFileExtensions is false and
$wgStrictFileExtensions is false.
Yet when I try to upload, I get a the following warning:
File extension ".conf" does not match the detected MIME type of the file (text/plain)
Not that this is not an error and the file is not uploaded. (I also have "Ignore warnings" checked). An image of a failed attempt is shown below.
How does one enable and upload a CONF file to MediaWiki?