Topic on Project:Support desk

Johnywhy (talkcontribs)

Any font-picker available for Mediawiki? Could be global or per-user.

I don't want to change the whole skin, just pick a different font.

Extension:FontAwesome does not seem created for that purpose.

TheDJ (talkcontribs)

The font settings are part of the skin

Johnywhy (talkcontribs)

Yes, i understand. I'm looking for a font-picker widget that's independent of the skin.

Osnard (talkcontribs)

If you want to have different fonts within a pages' content you may just use an HTML snippet like

... <span style="font-family:serif">My text</span>... 

You could also define CSS classes with the font settings in your Common.css. After that you could add an button to your WikiText-Editor: Manual:Custom edit buttons

But there is not an actual font picker for WikiEditor of VisualEditor as far as I know.

Johnywhy (talkcontribs)

Thx, i'm familiar with the CSS. I don't mean a font-picker for the editor. i mean a font-picker for the site visitor.

Johnywhy (talkcontribs)
Osnard (talkcontribs)

AFAIK there is nothing like this available, so you will have to implement it yourself. If you don't want to create a serverside extension (which I would recommend) you might got for MediaWiki:Common.js. A picker like the one from your example could be implemented that way.

Reply to "Font Picker?"