[Mediawiki-l] logo

Paul Williams paul at skenmy.com
Thu May 3 19:04:40 UTC 2007


Klaus Becker wrote:
> Hi,
> 
> to change the logo, I put this line 
> 
> $wgLogo = "/home/daten/rezo/wiki/wikilangues/images/0/00/Omnes.jpg";
> 
> into LocalSettings.php
> 
> but I always see the default logo. What's the right syntax ?
> 
> cheers 
> 
> Klaus
> 

The problem here is that you are using a filesystem path, not a URL. The
browser is not able to access your filesystem, only what is available
over HTTP.

The correct line would be:

$wgLogo = "http://yourdomain.com/wiki/wikilangues/images/0/00/Omnes.jpg";

Where yourdomain.com is your domain name, or you could try:

$wgLogo = $wgScriptPath . "/wikilangues/images/0/00/Omnes.jpg";

~ Paul Williams
~ en:Wikinews sysop
~ http://meta.wikimedia.org/wiki/User:Skenmy



More information about the MediaWiki-l mailing list