dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Add SPARQL client to core"
[lhc/web/wiklou.git]
/
includes
/
media
/
XCF.php
diff --git
a/includes/media/XCF.php
b/includes/media/XCF.php
index
1b6c4c8
..
491fef2
100644
(file)
--- a/
includes/media/XCF.php
+++ b/
includes/media/XCF.php
@@
-217,9
+217,9
@@
class XCFHandler extends BitmapHandler {
* @return bool
*/
public function canRender( $file ) {
* @return bool
*/
public function canRender( $file ) {
-
MediaWiki
\suppressWarnings();
+
Wikimedia
\suppressWarnings();
$xcfMeta = unserialize( $file->getMetadata() );
$xcfMeta = unserialize( $file->getMetadata() );
-
MediaWiki
\restoreWarnings();
+
Wikimedia
\restoreWarnings();
if ( isset( $xcfMeta['colorType'] ) && $xcfMeta['colorType'] === 'index-coloured' ) {
return false;
}
if ( isset( $xcfMeta['colorType'] ) && $xcfMeta['colorType'] === 'index-coloured' ) {
return false;
}