* translation (to en) where XMP should win.
*/
public function testMultilingualCascade() {
- global $wgShowEXIF;
- if ( !$wgShowEXIF ) {
+ if ( !wfDl( 'exif' ) ) {
$this->markTestIncomplete( "This test needs the exif extension." );
}
<?php
class FormatMetadataTest extends MediaWikiTestCase {
public function testInvalidDate() {
- global $wgShowEXIF;
- if ( !$wgShowEXIF ) {
+ if ( !wfDl( 'exif' ) ) {
$this->markTestIncomplete( "This test needs the exif extension." );
}
$meta['visible'][$dateIndex]['value'],
'File with invalid date metadata (bug 29471)' );
}
-}
\ No newline at end of file
+}