Hi Trevor,

On 01/30/2012 07:54 PM, Trevor Parscal wrote:
> In your case, you want to add...
> 
> 
> $wgVectorFeatures['collapsiblenav']['global'] = true;
> 
> ... which will enable it for all users.

thanks. That's not it though. As I wrote, it does work when I switch to
the Vector skin, whether I put that line in or not (collapsiblenav is
enabled by default).

I did some more digging and found that the Vector Extension explicitly
does the following check:

>               if ( $skin instanceof SkinVector ) {

So I tried for my class SkinGSV3 to extend SkinVector rather than
SkinTemplate directly. No luck though, that somehow seems to cause
Vector's CSS to override mine. No idea why - if someone has an idea I
would like to hear it, but right now I don't feel like investigating it.

For now my solution is to patch the Vector Extension to also check for
SkinGSV3.

Cheers,
Kilian

_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to