Jump to content

Topic on Extension talk:FontAwesome

This requires payment?

5
81.15.172.66 (talkcontribs)

Hello,

It looks like this extension requires payment. Is that true or am I missing something obvious? I'm only looking to use font awesome icons.

88.44.229.42 (talkcontribs)

I solved by adding these lines of code into LocalSettings.php :)

$wgHooks['BeforePageDisplay'][] ='onBeforePageDisplay';

function onBeforePageDisplay( OutputPage &$out, Skin &$skin )

{

$script = '<script type="text/javascript" src="https://use.fontawesome.com/fa18954d69.js"></script>';

$out->addHeadItem("wowhead script", $script);

return true;

};

64.115.164.70 (talkcontribs)
66.194.117.218 (talkcontribs)

Two years later those lines of code saved my ass in LocalSettings.php.

Thank you, whoever was behind 88.44.229.42 at that time.

2600:8800:2804:F200:ECAD:BC68:6421:DBEB (talkcontribs)

yep, thanks 88.44.229.42

Reply to "This requires payment?"