Giter Club home page Giter Club logo

fontawesome's People

Contributors

ciferlingvulo avatar jeroendedauw avatar malberts avatar s7eph4n avatar scrutinizer-auto-fixer avatar universal-omega avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

fontawesome's Issues

Possible to config used icons for smaller import?

I'm not sure the scope of this request so feel free to ignore if it's too much work - I use a lot of FontAwesome on my wiki but only a couple total icons. If possible I'd prefer to only make users load the icons I actually use. When searching for ways to do this I found this repo - https://github.com/johnsmclay/icnfnt. Currently I'm not using this extension and instead I just add icons via ::before and ::after pseudoelements but if I could import fewer total glyphs I'd definitely switch all my usage to this extension.

I'd ideally prefer to specify imported glyphs via a mediawiki-namespace or have the extension track usage from the parser function in an internal table, but doing it via a localsetting would also work fine (in my particular use case on Gamepedia I need someone with higher privileges to update localsettings changes, and it would be nice to not require this for any wikis with admins without backend access in general, but it's probably significantly easier to do via a localsetting and that tradeoff is probably worth it).

Also if you know of a non-extension way to achieve this with just css let me know!

Cleanup and modernize

  • Run CI on GitHub Actions
  • Raise PHP requirement
  • Raise MediaWiki requirement
  • Fix any PHP deprecations caused by newer versions of MW

To be done before #8.

Colors and fontsíze

At the moment i the icons are black. Is it possible to colorize them and adjust the size as with the ckeditor-FA-plugins . At the moment i prefer to load the Fa-all.css from the web which allows that.

Compatibility with MobileFrontend and MinervaNeue

Hello,

I'm quite new to MediaWiki, and I'm currently trying to set up a wiki.
I installed the FontAwesome extension, using Composer, and it works fine on my main Wiki style (Vector). But I also have the MobileFrontend extension installed with MinervaNeue skin. And on the mobile version of the wiki, the icons are not showing up...
Am I doing something wrong, or is there an issue somewhere ?
I've tried both renderers without any change.

You can check an exemple of an icon use on this page on my wiki : https://wiki.penspinning-france.fr/Modèle:Information (click "Version mobile" on the bottom of the page to switch to mobile display and see the icon vanish).

The additionnal configuration I have in my LocalSettings.php is as follows :

wfLoadSkin( 'MinervaNeue' );
wfLoadExtension( 'MobileFrontend' );
$wgMinervaAlwaysShowLanguageButton = false;

wfLoadExtension( 'Scribunto' );
$wgScribuntoDefaultEngine = 'luastandalone';

$wgGroupPermissions['sysop']['deletelogentry'] = true;
$wgGroupPermissions['sysop']['deleterevision'] = true;

$wgFileExtensions[] = 'svg';
$wgSVGConverter = 'ImageMagick';

wfLoadExtension( 'ParserFunctions' );

$wgFavicon = "$wgResourceBasePath/resources/assets/logo_120x120.png";

$wgCategoryCollation = "uca-fr";

wfLoadExtension( 'Cite' );

wfLoadExtension( 'FontAwesome' );

Thanks for your help!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.