I have a super-secret wiki. Therefore, I want to set up my wiki so that
when a user is logged in, the logo will display, but otherwise it'll be a
blank logo. The following didn't work too well, apparently because the logo
is already loaded before this hook runs:
$wgHooks['BeforePageDisplay'][] = 'logodisplay';
$wgLogo = '';
function logodisplay( $foo, $bar ) {
global $wgLogo, $wgUser;
$wgLogo = "$wgResourceBasePath/logo.png";
}
}