Extension:FontAwesome

From MediaWiki.org
Jump to navigation Jump to search
MediaWiki extensions manual
OOjs UI icon advanced.svg
FontAwesome
Release status: stable
Implementation Skin
Description Adds Font Awesome support to Mediawiki
Author(s) Lee Miller (SwiftSystalk)
Latest version 0.0.5 (2014-08-18)
MediaWiki 1.22+
PHP 5.4+
Database changes No
License GNU General Public License 2.0
Download Download
Translate the FontAwesome extension if it is available at translatewiki.net
Check usage and version matrix.

The FontAwesome extension adds Font Awesome support to MediaWiki.

Features[edit]

Adds the ability to use any of the Font Awesome scalable vector icons to Mediawiki, easily customized — size, color, drop shadow, and anything that can be done with the power of CSS.

Compatibility[edit]

Tested using the Vector Skin, though one would expect the extension to work in any skin as it is a pure css extension.

Tested with Mediawiki version 1.23.5 (11th Oct 2014).

The extension works with all major browsers apart from I.E 6 and 7.

Installation[edit]

Download and unpack into your extensions folder and add the following to the bottom of LocalSettings.php

require_once "$IP/extensions/BootStrapSkinAwesome/awesome.php";

Configuration[edit]

Font Awesome uses the following syntax;

<i class="fa fa-video-camera"></i> Foo

A complete list of icons can be found at the Font Icon Website (see below).

Version History[edit]

  • 0.0.4 Stable (27/05/2014)
  • 0.0.5 (18/08/2014) Updated due to a technical issue with the minified css.
  • 0.0.5a (8/10/2014) Completely rewritten extension.

External Links[edit]

See Also[edit]