[Wikitech-l] Creating custom skin based on Vector in MediaWiki 1.20

2012-11-13 Thread Dmitriy Sintsov
Hi! Some year ago, I used to create Vector-based skin with redesigned layout (very different positions of sidebar and action links) in MW 1.17 from scratch, via copying all of Vector subtree and modifying it, then adding my skin resources into Resources.php. It worked, but was a lot of work, i

Re: [Wikitech-l] Creating custom skin based on Vector in MediaWiki 1.20

2012-11-16 Thread Roan Kattouw
On Tue, Nov 13, 2012 at 12:33 AM, Dmitriy Sintsov wrote: > However, 'skin.vector' module includes both styles and scripts. And > setupSkinUserCss() adds styles only. So 'dependencies' did not help, vector > styles are loaded later, anyway. What can I do with that? > Unfortunately, addModuleStyles(

Re: [Wikitech-l] Creating custom skin based on Vector in MediaWiki 1.20

2012-11-16 Thread Leonard Wallentin
> > Also, I need to load remote google webfonts. Does ResourceLoader support > > this or I have to use old-fashionated methods of OutputPage() ? > Unfortunately RL doesn't support this directly. Although to load a > webfont, all you need is a stylesheet with an @font-face in it, right? Unfortunat

Re: [Wikitech-l] Creating custom skin based on Vector in MediaWiki 1.20

2012-11-17 Thread Dmitriy Sintsov
Sat Nov 17 2012 02:32:27 GMT+0400 (Caucasus Standard Time) пользователь Roan Kattouw (roan.katt...@gmail.com) написал: On Tue, Nov 13, 2012 at 12:33 AM, Dmitriy Sintsov wrote: > However, 'skin.vector' module includes both styles and scripts. And > setupSkinUserCss() adds styles only. So 'dep

Re: [Wikitech-l] Creating custom skin based on Vector in MediaWiki 1.20

2012-11-17 Thread Krinkle
On Nov 17, 2012, at 6:08 PM, Dmitriy Sintsov wrote: > Right. I can probably make local stylesheet with references to google cdn, > however I am not sure it wil not violate IE security or something. > So I did: > $out->addLink( array( "rel" => "stylesheet", "href" => > "http://font

Re: [Wikitech-l] Creating custom skin based on Vector in MediaWiki 1.20

2012-11-17 Thread Dmitriy Sintsov
Sat Nov 17 2012 22:09:38 GMT+0400 (Caucasus Standard Time) пользователь Krinkle (krinklem...@gmail.com) написал: On Nov 17, 2012, at 6:08 PM, Dmitriy Sintsov wrote: > Right. I can probably make local stylesheet with references to google cdn, however I am not sure it wil not violate IE secu