https://bugzilla.wikimedia.org/show_bug.cgi?id=20807
--- Comment #7 from Daniel Friesen <[email protected]> --- (In reply to comment #6) > There are obviously some caching issues, but this seems to work: > > $wgExtensionFunctions[] = function() { > global $wgUser, $wgLogo; > switch ( $wgUser->getOption( 'language' ) ) { > case 'en': > $wgLogo = 'en-logo'; > break; > case 'fr': > $wgLogo = 'fr-logo'; > break; > default: > $wgLogo = 'default-logo'; > } > }; Ugh, $wgUser and varying config on request state. Please use the SkinTemplateOutputPageBeforeExec to modify logopath instead of using that hack. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
