Detect chemical table files: Add them to MIME listings
authorrillke <rainerrillke@hotmail.com>
Sat, 21 Jun 2014 09:09:00 +0000 (11:09 +0200)
committerBrian Wolff <bawolff+wn@gmail.com>
Fri, 4 Jul 2014 07:14:57 +0000 (07:14 +0000)
commitc8a130dfd13be719e4f0a37179cdeb1594a439ac
tree5e24e3c8c2bef82ef2d31961498b399aafcdb431
parentd09ab9001ffe8399e1f1f9d40fe925d61b1c0b83
Detect chemical table files: Add them to MIME listings

Adding mol, sdf, rxn, rd and rg file types to mime.types and mime.info
map to make them known to MediaWiki by default.

PHP's own module fileinfo module is not capable detecting Chemical
table files. Instead, they are reported as text/plain.

MediaHandlers can be attached by MIME type only. That's why these
changes are required for [[Extension:MolHandler]] to work.

Change-Id: I017507e4a950b3ce4e6576d12217cd42a337bad6
includes/mime.info
includes/mime.types