FontAwesome: Difference between revisions
figured out what was blowing up FontAwesome |
No edit summary |
||
| Line 69: | Line 69: | ||
The best way I've found is to modify [[MediaWiki:Common.js]], but I ran into [[#Problems]] with that too. | The best way I've found is to modify [[MediaWiki:Common.js]], but I ran into [[#Problems]] with that too. | ||
<source lang=javascript> | <source lang=javascript> | ||
/*To add | /*To add script tags to the page we use load instead of the deprecated importScriptURI */ | ||
/* You'll need to visit the fontawesome site to get a KEY to use */ | |||
mw.loader.load('//use.fontawesome.com/ | mw.loader.load('//use.fontawesome.com/aldfjsdlkfjdlskf0.js'); | ||
</source> | </source> | ||