Last modified: 2014-10-16 18:57:25 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T74122, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 72122 - Logo does not appear in Vector skin with MW 1.24alpha
Logo does not appear in Vector skin with MW 1.24alpha
Status: RESOLVED INVALID
Product: MediaWiki skins
Classification: Unclassified
Vector (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-10-16 02:26 UTC by Cindy Cicalese
Modified: 2014-10-16 18:57 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Missing logo (31.79 KB, image/png)
2014-10-16 02:26 UTC, Cindy Cicalese
Details

Description Cindy Cicalese 2014-10-16 02:26:51 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.
Comment 1 Sam Reed (reedy) 2014-10-16 13:15:39 UTC
What exact value are you setting for $wgLogo?
Comment 2 Cindy Cicalese 2014-10-16 13:25:24 UTC
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.
Comment 3 Krinkle 2014-10-16 17:01:32 UTC
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?
Comment 4 Cindy Cicalese 2014-10-16 18:54:35 UTC
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!

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links