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
Yours is
$wgLogo = "/home/daten/rezo/wiki/wikilangues/images/0/00/Omnes.jpg";
Ours is .. $wgLogo = "$wgScriptPath/skins/common/images/wikiSanMar.png";
My guess is that you want to start from $wgScriptPath regardless of windows or linux? I also made sure that the image was in the common images. Just seemed to work better
DSig David Tod Sigafoos | SANMAR Corporation PICK Guy 206-770-5585 davesigafoos@sanmar.com
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Klaus Becker Sent: Thursday, May 03, 2007 11:36 To: mediawiki-l@lists.wikimedia.org Subject: [Mediawiki-l] logo
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
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Why not use a relative url? Anyway, have you tried to clear the cache and wait some time? It usually works ;-) If you want to be sure, just try browsing the website with another browser.
If the url is right, it should appear. We cannot check it for you ;-)
On 5/3/07, Klaus Becker colonius@free.fr 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
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
~~~~~ Snowolf ( www.snowolf.eu )
The Force will be with you, always!
$wgLogo = "/home/daten/rezo/wiki/wikilangues/images/0/00/Omnes.jpg";
I believe this can't work because it's not an URL, but a file path. So it would have to start with HTTP:// (which is automatically added for relative paths).
I might be wrong though.
-- F.
I'm a newbie, but this worked for me: $wgLogo = 'http://localhost/MediaWiki/something.jpg';
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
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
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
Am Donnerstag, 3. Mai 2007 21:04 schrieb Paul Williams:
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";
Hi,
I copied the image file into /home/daten/rezo/wiki/wikilangues/skins/common/images
than I tried all these lines one after the other:
$wgLogo = "http://localhost/wikilangues/skins/common/images/omnes.jpg"; $wgLogo = "$wgScriptPath/skins/common/images/omnes.jpg"; $wgLogo = $wgScriptPath . "/wikilangues/images/0/00/omnes.jpg";
on Linux. Nothing works.
Klaus
Klaus Becker wrote:
Hi,
I copied the image file into /home/daten/rezo/wiki/wikilangues/skins/common/images
than I tried all these lines one after the other:
$wgLogo = "http://localhost/wikilangues/skins/common/images/omnes.jpg"; $wgLogo = "$wgScriptPath/skins/common/images/omnes.jpg"; $wgLogo = $wgScriptPath . "/wikilangues/images/0/00/omnes.jpg";
on Linux. Nothing works.
Klaus
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Where is the "root" of your wiki? Is it in wiki/ or in wikilangues/?
~ Paul Williams ~ en:Wikinews sysop ~ http://meta.wikimedia.org/wiki/User:Skenmy
Am Donnerstag, 3. Mai 2007 21:21 schrieb Paul Williams:
Klaus Becker wrote:
Hi,
I copied the image file into /home/daten/rezo/wiki/wikilangues/skins/common/images
than I tried all these lines one after the other:
$wgLogo = "http://localhost/wikilangues/skins/common/images/omnes.jpg"; $wgLogo = "$wgScriptPath/skins/common/images/omnes.jpg"; $wgLogo = $wgScriptPath . "/wikilangues/images/0/00/omnes.jpg";
on Linux. Nothing works.
Klaus
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Where is the "root" of your wiki? Is it in wiki/ or in wikilangues/?
in wikilangues.
/var/www/wikilangues points to /home/daten/rezo/wiki/wikilangues
In the book "MediaWiki Administrators' Tutorial Guide", I just begin to read, I found something like
$wgStylePath = "$wgScriptPath/skins"; $wgLogo = "wgStylePath/common/images/omnes.jpg";
with these two lines, I have no more logo image
Klaus
Klaus Becker wrote:
in wikilangues.
/var/www/wikilangues points to /home/daten/rezo/wiki/wikilangues
In the book "MediaWiki Administrators' Tutorial Guide", I just begin to read, I found something like
$wgStylePath = "$wgScriptPath/skins"; $wgLogo = "wgStylePath/common/images/omnes.jpg";
with these two lines, I have no more logo image
Klaus
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
$wgLogo = "http://yourdomain.com/images/0/00/Omnes.jpg";
That line should achieve the correct results for you :)
~ Paul Williams ~ en:Wikinews sysop ~ http://meta.wikimedia.org/wiki/User:Skenmy
Am Donnerstag, 3. Mai 2007 21:34 schrieb Klaus Becker:
Am Donnerstag, 3. Mai 2007 21:21 schrieb Paul Williams:
Klaus Becker wrote:
Hi,
I copied the image file into /home/daten/rezo/wiki/wikilangues/skins/common/images
than I tried all these lines one after the other:
$wgLogo = "http://localhost/wikilangues/skins/common/images/omnes.jpg"; $wgLogo = "$wgScriptPath/skins/common/images/omnes.jpg"; $wgLogo = $wgScriptPath . "/wikilangues/images/0/00/omnes.jpg";
on Linux. Nothing works.
Klaus
Where is the "root" of your wiki? Is it in wiki/ or in wikilangues/?
in wikilangues.
/var/www/wikilangues points to /home/daten/rezo/wiki/wikilangues
In the book "MediaWiki Administrators' Tutorial Guide", I just begin to read, I found something like
$wgStylePath = "$wgScriptPath/skins"; $wgLogo = "wgStylePath/common/images/omnes.jpg";
with these two lines, I have no more logo image
Klaus
oh, in the 2. line, I forgot "$", so
$wgStylePath = "$wgScriptPath/skins"; $wgLogo = "$wgStylePath/common/images/omnes.jpg";
finally works !.
thanks for all help
Klaus
mediawiki-l@lists.wikimedia.org