Last modified: 2013-04-21 14:36:46 UTC
Disabling the top-left logo should not generate requests for non-existent image files. Currently the Layout Customization instructions (ref: http://meta.wikimedia.org/wiki/Layout_customization#How_do_I_customize_the_logo_in_the_top_left_corner.3F ) says "If you want to remove the logo completely, comment out the wgLogo variable." However, if you do this, and then check the apache error logs, it shows entries like so on every page view: --------------------------------------------- ludo:~# tail -2 /var/log/apache/error.log [Tue Oct 11 15:34:50 2005] [error] [client 192.168.0.2] File does not exist: /var/www/hosts/wiki-homepage/wiki/upload/wiki.png [Tue Oct 11 15:34:50 2005] [error] [client 192.168.0.2] File does not exist: /var/www/hosts/wiki-homepage/broken.php3 ludo:~# --------------------------------------------- (The broken.php3 is because our local apache configuration displays this on 404 requests, but it's not been added to the wiki directory) This image request happens because there is a fallback value specified for wgLogo in includes/DefaultSettings.php on line 117: $wgLogo = "{$wgUploadPath}/wiki.png"; A better approach may be to use the one outlined here: http://article.gmane.org/gmane.science.linguistics.wikipedia.technical/13574 (i.e. a value of '-' for a variable means that it is disabled). I'll attach a small patch shortly that allows $wgLogo to be set to "-" in LocalSettings.php, and which really disables the top-left logo.
Created attachment 975 [details] Allow wgLogo to be disabled
Just a related thought, but maybe the logo's path could be moved into the MediaWiki: namespace (e.g. "MediaWiki:wgLogo"). That way it could be as easily customized as other MediaWiki: variables, or set to "-" to disable it, all without needing to edit any configuration files. Just an idea, but I don't have a patch that does this.
Instructions are wrong; there is no way to 'disable the logo', it's part of the skin.