MediaWiki:LocalSettings.php

$wgFileExtensions[] = 'ttf';