Page MenuHomeMiraheze

Allow google fonts in content security policy
Closed, ResolvedPublic


I wanted to use a font from google fonts in the common.css for a wiki. When adding it to the common.css, the font wasn't applied. Looking in the dev-tools of my browser, it listed an error stating that was blocked by the content security policy, preventing the font from being loaded.

The font-url in question:

The issue reported by google-chrome:

Refused to load the font '' because it violates the following Content Security Policy directive: "font-src 'self' data: * *".
Miraheze wiki

Event Timeline

Don't know if it's policy to create separate issues on the same topic, but the csp also has two outdated urls for discord: and have been changed to

This one I ran into while trying to use external images


I would like to start by apologizing on the project's behalf that your task was not resolved within a reasonable time. The community has now decided via RfC to merge with WikiTide and former volunteers will be returning and new ones will likely join. An event such as this one is unlikely to occur again.

Since your task has been opened for a long time, please let us know if (1) you still need it to be done or (2) if it's a bug: if it's still occurring.

NOTE: This is a mass message and not specific to any particular task. Hi,

Since no response to the latest question has been received in a while, we must assume that this task is no longer needed and will now be closing it as Declined. (This is simply to indicate to us that the task was not done)

If you still need this task and are able to respond, please feel free to reopen this task and indicate that it is still needed and we will start working on it. I would like to apologize once again for any inconvenience caused by this task not being resolved within a reasonable time.


I'd still like to use fonts from Google fonts on my wiki. I didn't see the previous mail before the issue was closed

Reception123 claimed this task.