Jump to content

Topic on Skin talk:Vector/2022/Flow

ArexCell (talkcontribs)

I updated my logo to 50x50 px .svg and change the $wgLogos = ['svg' => "path/to/svg_version.svg", in LocalSettings.php.

The logo is visible with the Legacy Vector but not with Vector/2022. Is the MediaWiki Logo a wordmark or a separate logo + sitename? Please help

Saammaa (talkcontribs)

Vector 2022 do not read the config "svg" but uses "icon" instead.

To change the logo on left-top of the 2022 version of skin Vector just edit the $wgLogos as below in LocalSettings.php:

$wgLogos = [
	'1x' => "/resources/assets/wiki.png",
	'icon' => "/resources/assets/mediawiki.svg",
	'wordmark' => ['src' => "/resources/assets/mediawiki-wordmark.svg"],
];

Note that the size of this icon is locked in 50px, whatever the original size of your image is, however we can still reduce the rendering size by increasing the inner margin of the image.