Add support for svg with png fallback for logo

Authored by Paladox on Mar 13 2015, 1:06 AM.

Description

Add support for svg with png fallback for logo

For example on how to do it would be like

$wgLogo = [

'png' => "path/to/png",
'svg' => "path/to/svg",

];

you can also use it for png only or svg only.

$wgLogo = [

'png' => "path/to/png",

];

and

$wgLogo = [

'svg' => "path/to/svg",

];

Notes:

Also disables $wgLogoHD if $wgLogo['svg'] is set because devices capable of
using device-pixel-ratio is cabable of svg images so we use svg images
in favour of $wgLogoHD

Keeps backwards compat with $wgLogo so you can either do string or the array
version.

@Reedy helped me alot with this.

Bug: T86229
Change-Id: I6197d96ce9110f4711ef2c4b198445bc5c6ae110

Details