Page MenuHomePhabricator

Limitation of thumbnail generation for huge images should not cause broken links
Closed, ResolvedPublic

Description

MediaWiki refuses to generate a thumbnail for huge images (to enforce an upper
limit for memory requirements). The current behavior in such case is that
[[Image:Foo.png|thumb|Foo!]] will appear as a red broken link to Special:Upload,
which is quite unintuitive.

Even more strange, there is a difference between
[[Image:Foo.png|thumb|200px|Foo!]] and
[[Image:Foo.png|right|200px|Foo!]]. While the thumbnail is not generated in both
case, the latter displays correctly, using just a scaled img linking to the
original full-sized image and letting the browser to do all work.
I believe both should behave in the same way (and display the image).


Version: 1.6.x
Severity: normal
URL: http://cs.wikipedia.org/w/index.php?title=Wikipedie:P%C3%ADskovi%C5%A1t%C4%9B&oldid=227661

Details

Reference
bz3806

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 8:53 PM
bzimport set Reference to bz3806.
bzimport added a subscriber: Unknown Object (MLST).

Fixed on CVS HEAD and live; thumb will now fall back gracefully to client-side scaling
as the other cases do. For super-giant images this may be bad for your web browser,
but at least it's off our servers. ;)