Last modified: 2014-10-16 18:57:25 UTC
Created attachment 16787 [details] Missing logo I installed MW 1.24alpha and Vector from git. I set up a new wiki and configured Vector in the LocalSettings.php created by the wiki installer. When viewing the new wiki, the logo does not appear as expected in the top left corner. If I then edit LocalSettings.php and set $wgLogo and $wgFavicon to files that are in the same directory as each other with the same appropriate permissions/ownership, the favicon appears, but the logo still does not appear. MediaWiki version: 1.24alpha (dee6e26) 14:02, 13 October 2014 Vector version: (78a47d6) 15:31, 13 October 2014 No other extensions are installed, and no modifications are made to the default LocalSettings.php file except as described above.
What exact value are you setting for $wgLogo?
The logo does not appear regardless of whether I set $wgLogo or not. When I do set $wgLogo, it is as follows: $wgServerName = $_SERVER['WIKI_NAME']; $wgLogo = "/$wgServerName/branding/logo.png"; $wgFavicon = "/$wgServerName/branding/favicon.ico"; WIKI_NAME is an environment variable set in my Apache configuration. I include the setting for $wgFavicon above as well to show that it is set similarly. Setting the favicon is clearly working, and the permissions and ownership of the logo and favicon files are identical. There is no warning or error in the Apache log, so it does not appear to be trying to access the logo and failing. I should note that before starting from scratch, I updated a wiki currently operational under MW 1.23 with Vector. It was also missing the logo after the upgrade. To ensure that there were not interactions with other extensions, I attempted the simple case above.
Make sure you have matching versions of MediaWiki core and the Vector skin (e.g. master 1.25alpha of each, of REL1_23 or REL1_24 of each). There have been changes to the logo display in the Vector skin. It now uses class "mw-wiki-logo" instead of an inline style. This class name was also recently introduced in MediaWiki core. So perhaps you have a newer version of the Vector skin with an older version of MediaWiki core?
Ah, that was indeed the problem. I was using MediaWiki core branch REL1_24 but master from Vector. After checking out the REL1_24 branch of Vector, the logo appears. Thanks for the help!