X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dcompta/operations/supprimer.php?a=blobdiff_plain;f=includes%2Fmedia%2FIPTC.php;h=441c515f89c6e06f60b11f3115c82fcc6c70bb71;hb=39f0f919c5708f4c672a8eb7e0891f50bf16883e;hp=894043a4e571bd5ee87e998b608f8158aed4ff6f;hpb=37ae7b98be7f57b83ec58b7d8fa6ff17a7907992;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/media/IPTC.php b/includes/media/IPTC.php index 894043a4e5..441c515f89 100644 --- a/includes/media/IPTC.php +++ b/includes/media/IPTC.php @@ -75,7 +75,7 @@ class IPTC { * Title, person. Not sure if this is best * approach since we no longer have the two fields * separate. each byline title entry corresponds to a - * specific byline. */ + * specific byline. */ $bylines = self::convIPTC( $val, $c ); if ( isset( $parsed['2#085'] ) ) { @@ -445,9 +445,9 @@ class IPTC { */ private static function convIPTCHelper( $data, $charset ) { if ( $charset ) { - MediaWiki\suppressWarnings(); + Wikimedia\suppressWarnings(); $data = iconv( $charset, "UTF-8//IGNORE", $data ); - MediaWiki\restoreWarnings(); + Wikimedia\restoreWarnings(); if ( $data === false ) { $data = ""; wfDebugLog( 'iptc', __METHOD__ . " Error converting iptc data charset $charset to utf-8" );