How to add google webfonts to mediawiki?
google web 开发者_Go百科fonts requires that an HTML link element should be added to the head of the page:
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Tangerine">
I cant find the proper php file to modify.
Im using mediawiki 1.17, with the default skin "vector".
You may also try this mediawiki extension: http://www.mediawiki.org/wiki/Extension:WebFonts It does not use google fonts, but you can add custom fonts
You can modify SkinVector::setupSkinUserCss
in skins\Vector.php
and append $out->addStyle($fonturl, 'screen');
to it.
精彩评论