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

--- Comment #9 from Bryan Tong Minh <bryan.tongm...@gmail.com> 2011-02-06 
14:55:23 UTC ---
I dived into the thumbnailing code a bit, and to solve the thumbnailing problem
MediaHandler::getThumbType() should be a bit more intelligent.

It has as params $extension and $mime. By default is simply returns array(
$extension, $mime ). What is should do is check if $extension is a valid
extension for $mime, and if it is not, it should replace $extension with the
canonical extension.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to