Extension:UploadLogo

The UploadLogo extension does Logo Managed By Uploaded File

Configuration parameters
Setting Like this

$wgLogoDir=$IP .DIRECTORY_SEPARATOR.'images'.DIRECTORY_SEPARATOR.'logo';

$wgLogoScriptPath=$wgResourceBasePath.'/images/logo';

$wgLogo = $wgLogoScriptPath .'/logo.png';

if you set $wgLogo=$wgLogoScriptPath .'/logo.png' upload files always will *.png

if you set $wgLogo=$wgLogoScriptPath .'/logo.jpg' upload files always will *.jpg