user1700794
user1700794

Reputation:

Setting a non-image as MediaWiki wiki logo

How can I use .swf file as my logo ? I found out that in LocalSettings.php

$wgLogo= "$wgStylePath/common/images/wiki.png";

I can change my logo through this line , but it only supports images , how can I use .swf or .fla file instead of an image ?

Upvotes: 2

Views: 181

Answers (1)

Bergi
Bergi

Reputation: 665020

The logo should always be an image, it might be shown in various locations. Create a png version of your swf file if possible.

The logo shown in the top left (at least in Monobook and Vector skin) is by default an anchor element (with a link towards the main page), with the logo file set as a background image. If you want to replace it with something different, you will need to edit the skin template(s). In monobook, for example, it would be the code around line 125.

Upvotes: 2

Related Questions