diff options
Diffstat (limited to 'includes/media/XCF.php')
-rw-r--r-- | includes/media/XCF.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/media/XCF.php b/includes/media/XCF.php index 6544d5cf..16e11dc4 100644 --- a/includes/media/XCF.php +++ b/includes/media/XCF.php @@ -3,7 +3,7 @@ * Handler for the Gimp's native file format (XCF) * * Overview: - * http://en.wikipedia.org/wiki/XCF_(file_format) + * https://en.wikipedia.org/wiki/XCF_(file_format) * Specification in Gnome repository: * http://svn.gnome.org/viewvc/gimp/trunk/devel-docs/xcf.txt?view=markup * @@ -222,9 +222,9 @@ class XCFHandler extends BitmapHandler { * @return bool */ public function canRender( $file ) { - wfSuppressWarnings(); + MediaWiki\suppressWarnings(); $xcfMeta = unserialize( $file->getMetadata() ); - wfRestoreWarnings(); + MediaWiki\restoreWarnings(); if ( isset( $xcfMeta['colorType'] ) && $xcfMeta['colorType'] === 'index-coloured' ) { return false; } |