Merge "Add SPARQL client to core"
[lhc/web/wiklou.git] / includes / media / XCF.php
index 3587eba..491fef2 100644 (file)
@@ -151,7 +151,7 @@ class XCFHandler extends BitmapHandler {
         *
         * @param File|FSFile $file The image object, or false if there isn't one.
         *   Warning, FSFile::getPropsFromPath might pass an (object)array() instead (!)
-        * @param string $filename The filename
+        * @param string $filename
         * @return string
         */
        public function getMetadata( $file, $filename ) {
@@ -217,9 +217,9 @@ class XCFHandler extends BitmapHandler {
         * @return bool
         */
        public function canRender( $file ) {
-               MediaWiki\suppressWarnings();
+               Wikimedia\suppressWarnings();
                $xcfMeta = unserialize( $file->getMetadata() );
-               MediaWiki\restoreWarnings();
+               Wikimedia\restoreWarnings();
                if ( isset( $xcfMeta['colorType'] ) && $xcfMeta['colorType'] === 'index-coloured' ) {
                        return false;
                }