Index: trunk/phase3/includes/DefaultSettings.php |
— | — | @@ -1597,7 +1597,7 @@ |
1598 | 1598 | * to ensure that client-side caches do not keep obsolete copies of global |
1599 | 1599 | * styles. |
1600 | 1600 | */ |
1601 | | -$wgStyleVersion = '302'; |
| 1601 | +$wgStyleVersion = '303'; |
1602 | 1602 | |
1603 | 1603 | /** |
1604 | 1604 | * This will cache static pages for non-logged-in users to reduce |
Index: trunk/phase3/resources/mediawiki.special/mediawiki.special.upload.js |
— | — | @@ -63,7 +63,7 @@ |
64 | 64 | var img = new Image(), |
65 | 65 | rotation = 0; |
66 | 66 | |
67 | | - if ( meta && meta.tiff.Orientation ) { |
| 67 | + if ( meta && meta.tiff && meta.tiff.Orientation ) { |
68 | 68 | rotation = (360 - function () { |
69 | 69 | // See includes/media/Bitmap.php |
70 | 70 | switch ( meta.tiff.Orientation.value ) { |