Page MenuHomePhabricator

WikiSEO doesn't show svg logo from $wgLogos
Closed, ResolvedPublicBUG REPORT

Description

I have switched our logo from $wgLogo to

$wgLogos = [
	'svg' => ".../wiki.svg",
	'icon' => ".../icon.svg",
	'wordmark' => [
		'src' => ".../wordmark.svg",
	],
];

WikiSEO now sets the default image as the /w/resources/assets/wiki.png instead of the appropriate logo. I'm not sure if this is because WikiSEO doesn't understand $wgLogos, or if it doesn't want to use an SVG.

Event Timeline

This is more or less expected, as neither OpenGraph nor Schema.org officially support svg images.

But you can set _any_ of the keys found in $wgLogos to a jpg, png, or webp file, and WikiSEO will use the first usable one.