Wikimedia Developer Support

Re: [MediaWiki-l] MediaWiki-l Digest, Vol 188, Issue 4


#1

V, when I try it at my wiki (vers. 1.31.1), it works OK in Chrome on
Windows 10. The "Styles" section in Chrome developer tools has this entry:

font[Attributes Style] {

   1. font-family: "Century Gothic";
   2. font-size: small;

}

The FONT tag is deprecated in HTML5
<https://www.mediawiki.org/wiki/HTML_restriction>, so one day it probably
will stop working anyway. Instead use for instance:

<span style="font-family:'Century Gothic'; font-size:small;">Lorem ipsum
dolor sit amet</span>

At the risk of stating the obvious: the Century Gothic font must be
installed on the user's device for the text to be rendered in that font.

Best regards,

Henrik Thiil Nielsen


#2

Thanks so much H.

V

Valerio

V, when I try it at my wiki (vers. 1.31.1), it works OK in Chrome on
Windows 10. The "Styles" section in Chrome developer tools has this entry:

font[Attributes Style] {

   1. font-family: "Century Gothic";
   2. font-size: small;

}

The FONT tag is deprecated in HTML5
, so one day it probably
will stop working anyway. Instead use for instance:

Lorem ipsum
dolor sit amet

At the risk of stating the obvious: the Century Gothic font must be
installed on the user's device for the text to be rendered in that font.

Best regards,

Henrik Thiil Nielsen