User:Tabultor

How to use Font Awesome in Vector without an extension
It is very easy to use FA-icons with MediaWiki: You get font-awesome-4.4.0.zip here: http://fortawesome.github.io/Font-Awesome/ Unzip it and rename folder to font-awesome. Just put font-awesome in the same location where LocalSettings.php resides. You don't need subfolders css, less and scss – only fonts is necessary. Now you can follow the examples like this to show e.g. an old camera: 
 * 1. Download FA:
 * 2. Upload to your MediaWiki installation:
 * 3. Copy &amp; Paste:
 * On your local machine open font-awesome/css/font-awesome.min.css in an editor.
 * In your wiki open MediaWiki:Vector.css.
 * Copy the code of font-awesome.min.css to MediaWiki:Vector.css.
 * Your new Vector.css starts with six font-paths url('../fonts/. Change them to url('font-awesome/fonts/.
 * 4. Use the icons:

Improvement by template
Now we create Template:FA to make usage even simpler. The template uses "span" instead of "i" and accepts the icon-name (without the prefix "fa-"), an alternate color (hex, without "#" and ";") and a different size (x2, x3, x4, x5). Invoke Font-Awesome Icon: 1=name|fallback=smile-o, 2=color|333333, 3=size|lg  Thus, we create an icon this way: In red: In red, size x2:

Have fun!


 * Tabultor joined mediawiki.org on 2015-09-19.