https://bugzilla.wikimedia.org/show_bug.cgi?id=20807

Kunal Mehta (Legoktm) <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #6 from Kunal Mehta (Legoktm) <[email protected]> ---
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';
    }
};

-- 
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

Reply via email to