}
# Removed for ProofreadPage
- #$width = intval( $width );
+ # $width = intval( $width );
return "{$width}px";
}
}
function getImageSize( $image, $path ) {
- wfSuppressWarnings();
+ MediaWiki\suppressWarnings();
$gis = getimagesize( $path );
- wfRestoreWarnings();
+ MediaWiki\restoreWarnings();
return $gis;
}