Jump to content

Topic on Manual talk:$wgLogos

Summary by Kerel-fs

Thank you for your answers and your work on MediaWiki!

Kerel-fs (talkcontribs)

There should be a simple minimal example. Ideally this would also only use options not planned to be deprecated in the future, but promoting the use of the icon version only might break with some skins for now. I'm relatively new to MediaWiki and thus not editing the Manual directly, but this is my proposal:

$wgLogos = [
	'1x' => "path/to/1x_version.png",		// path to 1x version
];
Kjecl (talkcontribs)

$wgLogos = [

       '1x' => "{$wgScriptPath}/myCustomLogo.png"               // path to 1x version

];

... worked for me.

Jdforrester (WMF) (talkcontribs)