title: How can I add an upload filetype to mediawiki?
body: <p>I would like to be able to upload .2h files to mediawiki.  I think it is version 1.310-alpha</p>
  
  <p>I added '2h' to wgFileExtensions which almost works.
  It now complains with:</p>
  
  <pre><code>File extension ".2h" does not match the detected MIME type of the file (application/sla).
  </code></pre>
  
  <p>The file is binary, so I assume I need to somehow allow:</p>
  
  <pre><code>application/octet-stream
  </code></pre>