Thread:Project:Support desk/Resource Loader and webfonts

Product	Version MediaWiki	1.18.2 PHP	5.3.10 (cgi-fcgi) MySQL	5.1.63-rel13.4

http://www.medrevise.co.uk/index.php?title=Main_Page&useskin=medrevise5 - link to new skin I'm working on.

Hey guys.

Loving the idea of the ResourceLoader - just struggling to find any really basic introduction to it.

When creating a new skin, what key things do I need to be aware of:
 * 1) I'm aware I need to embed images using @embed
 * 2) When (and how) should I load js scripts? Is this done through wgResourceModules? I've read on some articles on here that all scripts should be loaded at the end of the page - is this true?
 * 3) How do I load webfonts, especially external google ones?

Thanks, appreciate the help! Chris Bigonroad (talk) 09:58, 27 May 2012 (UTC)