MediaWiki:Gadget-fonts.js: Difference between revisions

(New Page: "// ********************************************************************** // ** ***WARNING GLOBAL GADGET FILE*** ** // ** changes to this f...")
(No difference)

Revision as of 18:20, 11 November 2012

// **********************************************************************
// **                 ***WARNING GLOBAL GADGET FILE***                 **
// **             changes to this file affect many users.                     **
// **           please discuss on the talk page before editing           **
// **                                                                                             **
// **********************************************************************
<script type="text/javascript">
  WebFontConfig = {
    google: { families: [ 'Droid+Sans::latin' ] }
  };
  (function() {
    var wf = document.createElement('script');
    wf.src = ('https:' == document.location.protocol ? 'https' : 'http') +
      '://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js';
    wf.type = 'text/javascript';
    wf.async = 'true';
    var s = document.getElementsByTagName('script')[0];
    s.parentNode.insertBefore(wf, s);
  })(); </script>