Extension:MontserratFont
![]() Release status: beta |
|
---|---|
Implementation | MyWiki |
Description | Makes the webfont Montserrat available for in-line styles or site CSS |
Author(s) | James Hare (Harej (WMF)talk) |
Latest version | 1.0.0 (2018-05-10) |
MediaWiki | 1.29+ |
PHP | 5.5+ |
Database changes | No |
License | GPL-2.0-or-later AND OFL-1.1 |
Download | |
Translate the MontserratFont extension if it is available at translatewiki.net | |
The MontserratFont extension makes the open source font Montserrat available on a given wiki as a web font.
Installation[edit]
- Download and place the file(s) in a directory called
MontserratFont
in yourextensions/
folder. - Add the following code at the bottom of your
LocalSettings.php
:wfLoadExtension( 'MontserratFont' );
Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
Usage[edit]
The extension does not automatically change the font on the wiki. Rather, it makes the font available as an option for in-line styles or site CSS.
TODO Example: