X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fmedia%2FGIFMetadataExtractor.php;h=a26539a87a4e033a4661612e178ebe67e44262f8;hb=9a37fb8e4851d13bfb208eb886c9947a7f21571c;hp=b4c3d6ee11416eea2dbb54b61326a0e68eea0e37;hpb=a4943f548be4cfc8f286f00fc8064ff0e377f2ba;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/media/GIFMetadataExtractor.php b/includes/media/GIFMetadataExtractor.php index b4c3d6ee11..a26539a87a 100644 --- a/includes/media/GIFMetadataExtractor.php +++ b/includes/media/GIFMetadataExtractor.php @@ -161,9 +161,9 @@ class GIFMetadataExtractor { UtfNormal\Validator::quickIsNFCVerify( $dataCopy ); if ( $dataCopy !== $data ) { - MediaWiki\suppressWarnings(); + Wikimedia\suppressWarnings(); $data = iconv( 'windows-1252', 'UTF-8', $data ); - MediaWiki\restoreWarnings(); + Wikimedia\restoreWarnings(); } $commentCount = count( $comment ); @@ -254,8 +254,6 @@ class GIFMetadataExtractor { 'duration' => $duration, 'xmp' => $xmp, 'comment' => $comment, - 'width' => $width, - 'height' => $height, ]; }