A MediaWiki extension that renders chess diagrams in <fentt> tag using only TrueType fonts and CSS style.
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
doc
img/mw
.gitignore
COPYING
FenTT.css
FenTT.hooks.php
FenTT.php
Makefile
README.md
VERSION
chess_merida_unicode.ttf
extension.json

README.md

FenTT

FenTT is a MediaWiki extension that renders high quality chess diagrams described in FEN using only TrueType fonts and CSS style.

Visit FenTT test page on WikiTest for examples and trying the extension by yourself.

Usage

Usage instructions are contained in the package. To view it,

  • Download the package.
  • Run the command
  make doc
  • Open file doc/reference.html in a browser.

Installation

The simplest is to clone the git repository in folder extensions of your wiki and run the install target (for MW 1.25 or above) or install-1.24 (for MW 1.24 or older):

cd /path/to/your/wiki/extensions
git clone --depth 1 https://github.com/xeyownt/mwfentt FenTT
cd FenTT
make install             # For MW 1.25 or above
make install-1.24        # For MW 1.24 or older

make install / make install-1.24 will delete all files that are not necessary for the extension to run, and add the following line at the end of LocalSettings.php:

// For MW 1.25 or above:
wfLoadExtension( 'FenTT' );
// For MW 1.24 or older:
require_once "$IP/extensions/FenTT/FenTT.php";

Done! Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Links

License

Copyright (C) 2007-2016 Michael Peeters <https://github.com/xeyownt>.

The FenTT MediaWiki extension comes with ABSOLUTELY NO WARRANTY. This is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

See file COPYING for more details.