Page MenuHomePhabricator

OggHandler gives PHP fatal error with $wgThumbnailScriptPath; missing getScriptedTransform()
Closed, ResolvedPublic


With $wgThumbnailScriptPath enabled in LocalSettings.php like so:

$wgThumbnailScriptPath = "$wgScriptPath/thumb.php";

I get a lovely fatal error when rendering OGG files at their Image: pages or Special:Newimages:

Fatal error: Call to undefined method OggHandler::getScriptedTransform() in /opt/web/pages/trunk/includes/filerepo/File.php on line 506

Version: unspecified
Severity: normal



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:55 PM
bzimport set Reference to bz11593.

Fixed in r30044. Generic handler class now has an implementation of getScriptedTransform() which simply returns false, in which case it'll (now) fall through to regular rendering.