https://bugzilla.wikimedia.org/show_bug.cgi?id=53820

Bryan Davis <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Bryan Davis <[email protected]> ---
It looks like $handler could be boolean false via MediaHandler::getHandler() if
$wgMediaHandlers[$type] is not found.

$handler is derived via a long chain of object lookups/calls:

 
RepoGroup::singleton()->getLocalRepo()->getUploadStash()->getFile()->getHandler()

I would expect to see a wfDebug() of "MediaHandler::getHandler: no handler
found for X" just before this crash. "X" would be the mime type that
MimeMagic::singleton()->guessMimeType() is returning for the local file.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to