Catrope has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/371196 )

Change subject: Allow WOFF uploads on private wikis
......................................................................

Allow WOFF uploads on private wikis

That way Fundraising can upload font files to donatewiki
and serve them from there.

Change-Id: I18afb96eea1509a45dbb5fe86864c11ac573c716
---
M wmf-config/CommonSettings.php
1 file changed, 6 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/96/371196/1

diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php
index ae72c43..f8427a4 100644
--- a/wmf-config/CommonSettings.php
+++ b/wmf-config/CommonSettings.php
@@ -540,7 +540,7 @@
        $wgFileExtensions[] = 'aif'; // "
        $wgFileExtensions[] = 'aiff'; // "
 
-       # Becausee I hate having to find print drivers -- tomasz
+       # Because I hate having to find print drivers -- tomasz
        $wgFileExtensions[] = 'ppd';
 
        # InDesign & PhotoShop, Illustrator wanted for Chapters logo work
@@ -554,6 +554,11 @@
 
        # Dia Diagrams files --fred.
        $wgFileExtensions[] = 'dia';
+
+       # Font files (so we can upload Montserrat to donatewiki) --Roan
+       $wgFileExtensions[] = 'woff';
+       $wgFileExtensions[] = 'woff2';
+
        // To allow OpenOffice doc formats we need to not blacklist zip files
        $wgMimeTypeBlacklist = array_diff(
                $wgMimeTypeBlacklist,

-- 
To view, visit https://gerrit.wikimedia.org/r/371196
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I18afb96eea1509a45dbb5fe86864c11ac573c716
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Catrope <r...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to