You could set up img_auth.php and point the logo to something protected by
it. Then only logged in users would be able to see the logo.

--
brian

On Tuesday, January 17, 2017, Jean Valjean <[email protected]>
wrote:
> 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";
>        }
> }
> _______________________________________________
> MediaWiki-l mailing list
> To unsubscribe, go to:
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to