Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Wikipedia: Mediawiki

Change Logo works only partially

 

 

Wikipedia mediawiki RSS feed   Index | Next | Previous | View Threaded


Frank.Neps at gmail

Nov 7, 2009, 5:02 AM

Post #1 of 5 (224 views)
Permalink
Change Logo works only partially

Hello altogether,

I tried to change the logo of a mediawiki installation on an Ubuntu Server.

In the file LocalSettings.php I added the line

$wgLogo = "images/mylogo.png"

Then I copied the file with the above name into the directory images.

The logo is displayed, when I click on "edit" to modify a page. But it is
not displayed any more, when I switch back to regular view.

Could I please get a hint, what goes wrong here? Any idea? What information
do you need?

Thank you in advance and best regards,

Frank
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l[at]lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


bthoen at gisnet

Nov 7, 2009, 6:27 AM

Post #2 of 5 (209 views)
Permalink
Re: Change Logo works only partially [In reply to]

Frank.Neps[at]gmail.com wrote:
> Hello altogether,
>
> I tried to change the logo of a mediawiki installation on an Ubuntu Server.
>
> In the file LocalSettings.php I added the line
>
> $wgLogo = "images/mylogo.png"
>
> Then I copied the file with the above name into the directory images.
>
> The logo is displayed, when I click on "edit" to modify a page. But it is
> not displayed any more, when I switch back to regular view.
>
> Could I please get a hint, what goes wrong here? Any idea? What information
> do you need?
>
I did virtually the same thing on a Fedora Core machine, except that I
tried jpg, and gif formats instead of png and got just blank pages in
return. So I don't know if it's a format thing or image size or color
depth issue or what. All I know is that changing $wgLogo isn't the whole
story. So I'm watching this thread with interest too.

- Bill T.

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l[at]lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Frank.Neps at neps

Nov 7, 2009, 6:59 AM

Post #3 of 5 (209 views)
Permalink
Re: Change Logo works only partially [In reply to]

I just converted the logo to jpg format, but it still doesn't work.

Frank
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l[at]lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


brion at pobox

Nov 7, 2009, 7:10 AM

Post #4 of 5 (209 views)
Permalink
Re: Change Logo works only partially [In reply to]

On 11/7/09 2:02 PM, Frank.Neps[at]gmail.com wrote:
> In the file LocalSettings.php I added the line
>
> $wgLogo = "images/mylogo.png"
>
> Then I copied the file with the above name into the directory images.
>
> The logo is displayed, when I click on "edit" to modify a page. But it is
> not displayed any more, when I switch back to regular view.

"images/mylogo.png"
^ That's a relative path, which is probably not what you want.

If your pages are like this:
http://example.com/wiki/index.php/Somepage

that relative path tells the browser to load the logo from here:
http://example.com/wiki/index.php/images/mylogo.png

Like all other paths in MediaWiki config, probably you wanted a complete
URL path here. If it doesn't start with "http:" or "/" it's almost
certainly wrong.

-- brion


_______________________________________________
MediaWiki-l mailing list
MediaWiki-l[at]lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Frank.Neps at neps

Nov 7, 2009, 7:21 AM

Post #5 of 5 (209 views)
Permalink
Re: Change Logo works only partially [In reply to]

2009/11/7 Brion Vibber <brion[at]pobox.com>
> Like all other paths in MediaWiki config, probably you wanted a complete
> URL path here. If it doesn't start with "http:" or "/" it's almost
> certainly wrong.

As the logo was displayed correctly in the "Edit" page, I thought the
relative path was correct.

But you were right: The problem is solved by specifying an absolute path.

Thanks a lot!

Frank

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l[at]lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Wikipedia mediawiki RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.