It was throwing 'MWException: Internal error: exif_read_data not present. $wgShowEXIF may be incorrectly set or not checked by an extension.'
Fixed typo in LocalSettings.
* Requires PHP's EXIF extension: http://www.php.net/manual/en/ref.exif.php
*
* NOTE FOR WINDOWS USERS:
- * To enable EXIF functions, add the folloing lines to the
+ * To enable EXIF functions, add the following lines to the
* "Windows extensions" section of php.ini:
*
* extension=extensions/php_mbstring.dll
* translation (to en) where XMP should win.
*/
public function testMultilingualCascade() {
-
+ global $wgShowEXIF;
+ if ( !$wgShowEXIF ) {
+ $this->markTestIncomplete( "This test needs the exif extension." );
+ }
+
$meta = BitmapMetadataHandler::Jpeg( dirname( __FILE__ ) .
'/Xmp-exif-multilingual_test.jpg' );