On Sun, Feb 17, 2013 at 6:09 PM, Arcane 21 arcane@live.com wrote:
I'm currently working on a skin I'm helping develop, and I was wondering if it is possible to have different skins use different wiki logo pictures?
I want it so that when a user changes from one skin to the custom skin, the new skin loads up with the preselected logo specific to that skin, but switches back to the default logo when the skin is reverted back to the default.
I was thinking it would be possible to do this via an edit to the screen.css file of my custom skin (based on Vector), but I'm not sure what I should be doing or if that would work properly.
If anyone has some advice, thank you in advance.
Simplest thing you can do here is to just hardcode the alternate logo in your alternate skin. :)
But you probably could fiddle with $wgLogo in a hook if you need the same value somewhere else.
-- brion