Page MenuHomeMiraheze

add font to my wiki
Closed, DeclinedPublic

Description

https://shaazzz.miraheze.org

hello. i want to change font of this wiki because default farsi font is bad. i try to upload it but ttf was not allowed to upload to wiki. and Content Security Policy block fonts come from other resources. can you allow ttf file format to upload in my wiki?

Event Timeline

Hamid created this task.May 21 2019, 20:30
AmandaCath added a subscriber: AmandaCath.

To import a new font not preloaded by MediaWiki, you'll need to get a CSP exemption from an operations member.

Hamid added a comment.May 22 2019, 18:21

can i upload font somewhere ( for example in https://shaazzz.miraheze.org/wiki/%D9%88%DB%8C%DA%98%D9%87:%D8%A8%D8%A7%D8%B1%DA%AF%D8%B0%D8%A7%D8%B1%DB%8C_%D9%BE%D8%B1%D9%88%D9%86%D8%AF%D9%87 ) that does not need CSP exception ? why uploaded files are restricted to djvu، gif، ico، jpg، jpeg، ogg، pdf، png، svg ?

and if that is not possible, how i can get a CSP exemption ?

Paladox added a subscriber: Paladox.Sat, Jun 29, 15:46

Hi, it depends on where your importing the fonts from. If the url is not in https://github.com/miraheze/puppet/blob/master/modules/varnish/data/csp_whitelist.yaml then you need to request that the url is added.

Paladox changed the task status from Open to Stalled.Sat, Jun 29, 15:46

@Hamid update? Is the font that you want hosted at a URL that is included in the link that paladox gave above? If not, what is the URL so it can be added?

Paladox closed this task as Declined.Sat, Jul 20, 17:41
Paladox claimed this task.

No response.

Paladox removed Paladox as the assignee of this task.Sat, Jul 20, 17:41