Skip to content
This repository has been archived by the owner on Jan 7, 2021. It is now read-only.

Commit

Permalink
Add allow URL for TemplateStyles
Browse files Browse the repository at this point in the history
  • Loading branch information
lens0021 committed Dec 10, 2019
1 parent 46e43d1 commit e49ad8b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions LocalSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -571,6 +571,11 @@

// TemplateStyles
wfLoadExtension( 'TemplateStyles' );
$wgTemplateStylesAllowedUrls = [
'font' => [
'<^https://fonts\\.googleapis\\.com/css(?:[?#]|$)>',
],
];

// TemplateWizard
wfLoadExtension( 'TemplateWizard' );
Expand Down

0 comments on commit e49ad8b

Please sign in to comment.