Add "chemical" major MIME type to the image tables
authorrillke <rainerrillke@hotmail.com>
Sun, 25 May 2014 11:23:09 +0000 (13:23 +0200)
committerBrian Wolff <bawolff+wn@gmail.com>
Mon, 25 Aug 2014 22:13:35 +0000 (19:13 -0300)
commit9665a657b005f3a5b882efff3dd5faeba73297d2
treefc748dfd8e6b4f5144f76cea27879f870358d5d7
parent2c725caeece6690358d14edf7cb21271cd774611
Add "chemical" major MIME type to the image tables

The American Chemical Society suggested a new major MIME type for files
containing chemical data in 1998: http://dx.doi.org/10.1021/ci9803233
This suggestion got widely adopted and is now a de-facto-standard despite
not registered with IANA.

Applying this patch will allow us to continue with extension MolHandler
and PDBHandler.
http://fab.wmflabs.org/T352

- Fixes bug 66412 by creating a logic that will prevent running unneeded
  updates.

Bug: 66412
Change-Id: Ic45dc1bce796a0406ed8a84e6274df1c4bda4967
19 files changed:
RELEASE-NOTES-1.24
includes/db/Database.php
includes/installer/DatabaseInstaller.php
includes/installer/Installer.php
includes/installer/MssqlUpdater.php
includes/installer/MysqlUpdater.php
includes/installer/i18n/en.json
includes/installer/i18n/qqq.json
includes/specials/SpecialMIMEsearch.php
maintenance/archives/patch-fa_major_mime-chemical.sql [new file with mode: 0644]
maintenance/archives/patch-img_major_mime-chemical.sql [new file with mode: 0644]
maintenance/archives/patch-oi_major_mime-chemical.sql [new file with mode: 0644]
maintenance/mssql/archives/patch-fa_major_mime-chemical.sql [new file with mode: 0644]
maintenance/mssql/archives/patch-img_major_mime-chemical.sql [new file with mode: 0644]
maintenance/mssql/archives/patch-oi_major_mime-chemical.sql [new file with mode: 0644]
maintenance/mssql/tables.sql
maintenance/mssql/update-keys.sql [new file with mode: 0644]
maintenance/tables.sql
maintenance/update-keys.sql [new file with mode: 0644]