Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible to config used icons for smaller import? #2

Open
RheingoldRiver opened this issue Nov 26, 2019 · 2 comments
Open

Possible to config used icons for smaller import? #2

RheingoldRiver opened this issue Nov 26, 2019 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@RheingoldRiver
Copy link

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!

@s7eph4n
Copy link
Contributor

s7eph4n commented Nov 26, 2019

It's planned. But it will take time.

@s7eph4n s7eph4n added the enhancement New feature or request label Nov 26, 2019
@RheingoldRiver
Copy link
Author

Ok that's awesome! (haha) thanks!

@JeroenDeDauw JeroenDeDauw added the help wanted Extra attention is needed label Apr 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants