r26284 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r26283‎ | r26284 | r26285 >
Date:20:23, 1 October 2007
Author:brion
Status:old
Tags:
Comment:
* Compatibility with incorrectly detected old-style DJVU mime types
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/DefaultSettings.php (modified) (history)
  • /trunk/phase3/includes/MimeMagic.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/MimeMagic.php
@@ -24,7 +24,7 @@
2525 image/png png
2626 image/svg+xml image/svg svg
2727 image/tiff tiff tif
28 -image/vnd.djvu djvu
 28+image/vnd.djvu image/x.djvu image/x-djvu djvu
2929 image/x-portable-pixmap ppm
3030 text/plain txt
3131 text/html html htm
Index: trunk/phase3/includes/DefaultSettings.php
@@ -1603,9 +1603,11 @@
16041604 'image/png' => 'BitmapHandler',
16051605 'image/gif' => 'BitmapHandler',
16061606 'image/x-ms-bmp' => 'BmpHandler',
1607 - 'image/svg+xml' => 'SvgHandler',
1608 - 'image/svg' => 'SvgHandler',
1609 - 'image/vnd.djvu' => 'DjVuHandler',
 1607+ 'image/svg+xml' => 'SvgHandler', // official
 1608+ 'image/svg' => 'SvgHandler', // compat
 1609+ 'image/vnd.djvu' => 'DjVuHandler', // official
 1610+ 'image/x.djvu' => 'DjVuHandler', // compat
 1611+ 'image/x-djvu' => 'DjVuHandler', // compat
16101612 );
16111613
16121614
Index: trunk/phase3/RELEASE-NOTES
@@ -80,6 +80,7 @@
8181 * (bug 11474) Fix unintentional fall-through in math error handling
8282 * (bug 11478) Fix undefined method call in file deletion interface
8383 * (bug 278) Search results no longer highlight incorrect partial word matches
 84+* Compatibility with incorrectly detected old-style DJVU mime types
8485
8586
8687 === API changes in 1.12 ===

Follow-up revisions

RevisionCommit summaryAuthorDate
r26331Merged revisions 26280-26330 via svnmerge from...david22:28, 2 October 2007

Status & tagging log