wiki.techinc.nl/includes/media
Kunal Mehta a7c90ecc5f Allow skipping $wgMaxImageArea check
If $wgMaxImageArea is false, MediaWiki will no longer check if the image
fits within that area before trying to scale it. Extensions can still
use the BitmapHandlerCheckImageArea hook to override it.

This is primarily useful when using an external scaler like Wikimedia
does with Thumbor, which decides whether it can scale images by using a
timeout rather than based on size.

Codesearch indicates that the only extension checking this setting is
PagedTiffHandler, which will be updated in Iefa67321d07f7.

Bug: T291014
Depends-On: Iefa67321d07f79d982388231e02e87e2f18aed40
Change-Id: Id10173bbddb32bc70e036f426369cfbea52cecf4
2021-09-23 15:33:37 -07:00
..
Hook
BitmapHandler.php
BitmapHandler_ClientOnly.php
BitmapMetadataHandler.php Remove some more comments that literally repeat the code 2021-06-18 21:23:56 +00:00
BmpHandler.php Use the unserialized form of image metadata internally 2021-06-08 17:04:01 +10:00
DjVuHandler.php Drop $wgDjvuToXML 2021-09-10 23:40:31 +02:00
DjVuImage.php Drop $wgDjvuToXML 2021-09-10 23:40:31 +02:00
Exif.php Simplify loops over array_keys 2021-08-12 07:08:36 +00:00
ExifBitmapHandler.php Use the unserialized form of image metadata internally 2021-06-08 17:04:01 +10:00
FormatMetadata.php media: Ignore EXIF tag GPSAltitudeRef in FormatMetadata 2021-06-29 00:44:25 +00:00
GIFHandler.php media: Make the file metadata "_error" check looser 2021-06-24 00:57:50 +00:00
GIFMetadataExtractor.php build: Enable phan plugin UseReturnValuePlugin 2021-08-26 21:08:19 +00:00
ImageHandler.php Simplify if-then-else-return statements with explicit true/false 2021-08-17 23:19:04 +02:00
IPTC.php Add missing spaces to imploded debug strings 2021-07-28 11:07:17 +02:00
Jpeg2000Handler.php Basic JPEG2000 handler 2021-05-19 12:42:08 -07:00
JpegHandler.php Use the unserialized form of image metadata internally 2021-06-08 17:04:01 +10:00
JpegMetadataExtractor.php Use the unserialized form of image metadata internally 2021-06-08 17:04:01 +10:00
MediaHandler.php Merge "Simplify if-then-else-return statements with explicit true/false" 2021-08-24 11:44:23 +00:00
MediaHandlerFactory.php Basic JPEG2000 handler 2021-05-19 12:42:08 -07:00
MediaHandlerState.php Replace usage of custom File properties 2021-05-27 18:48:06 +10:00
MediaTransformError.php
MediaTransformInvalidParametersException.php
MediaTransformOutput.php Emit media structure as piloted in Parsoid 2021-06-24 23:32:40 +00:00
PNGHandler.php media: Make the file metadata "_error" check looser 2021-06-24 00:57:50 +00:00
PNGMetadataExtractor.php PNGMetadataExtractor: skip oversize chunks instead of aborting 2021-07-28 14:14:22 +10:00
SvgHandler.php Use the unserialized form of image metadata internally 2021-06-08 17:04:01 +10:00
SVGReader.php Remove unused default values from class properties 2021-05-12 13:44:28 +02:00
ThumbnailImage.php
TiffHandler.php Use the unserialized form of image metadata internally 2021-06-08 17:04:01 +10:00
tinyrgb.icc
TransformationalImageHandler.php Allow skipping $wgMaxImageArea check 2021-09-23 15:33:37 -07:00
TransformParameterError.php
TransformTooBigImageAreaError.php
TrivialMediaHandlerState.php Replace usage of custom File properties 2021-05-27 18:48:06 +10:00
WebPHandler.php Use the unserialized form of image metadata internally 2021-06-08 17:04:01 +10:00
XCFHandler.php Use the unserialized form of image metadata internally 2021-06-08 17:04:01 +10:00