[Mediawiki-i18n] Extension to wrap certain characters in a span

Nick White nick.white at durham.ac.uk
Mon Nov 19 17:49:43 UTC 2012

On Mon, Nov 19, 2012 at 10:59:12PM +0530, Harish wrote:
> If the fonts are installed, willn't the operating system itself take care of
> rendering the correct fonts?

In my case there are two scripts used in different parts of the
website, which require two different fonts in order to be correctly
and attractively displayed.

So this extension ensures that the appropriate font is chosen for
each script. Even if fonts with support for both scripts were
installed, the browser would not automatically switch to a
different font when showing different scripts. The extension uses
the span tag linked to CSS to tell it which script certain parts are
in, and hence which font to use.

More information about the Mediawiki-i18n mailing list