Thanks Alexis,
now the logo-path works in my wiki as it should. :-) Seems like you have to use the combination of setting $wgStylePath to $wgScriptPath/skins and then setting $wgLogo to $wgStylePath/common/images/YOURLOGO.png
I think I tried almost everything else - putting the image into different locations and then using either relative or absolut paths, but nothing worked. I must have had something wrong in my paths...
Alexis Moinet schrieb:
I think it's just because $wgStylePath is defined to "false" in DefaultSettings.php and therefore you just have to put $wgStylePath = "$wgScriptPath/skins"; in LocalSettings.php (just as it use to be in earlier version like 1.5) ;-)
Hence add either :
$wgLogo = "$wgScriptPath/skins/common/images/YOURLOGO.png";
or
$wgStylePath = "$wgScriptPath/skins"; $wgLogo = "$wgStylePath/common/images/YOURLOGO.png";
in LocalSettings.php (after require_once( "includes/DefaultSettings.php" ); of course) (tested locally, didn't work with $wgLogo = "$wgStylePath/common/images/YOURLOGO.png"; only, but with solutions above it works)
Alexandre Pedroto wrote :
It was exactly what happens with me. Maybe a Media Wiki bug??
Alexandre.
Katharina Wolkwitz escreveu:
Try using the full IP-path to your image e.g. $wgLogo = 'http://%5BYour IP-Number]/_fhbwiki/fhbwiki2.jpg';
Philip Beach escreveu:
Did you double check to make sure the logo is still in /skins/common/images? Also, make sure LocalSetting.php has the correct logo file name in $wgLogo, like this... $wgLogo = "$wgStylePath/common/images/YOURLOGO.png";
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l