jenkins-bot has submitted this change and it was merged.

Change subject: Set $wgULSFontRepositoryBasePath to a static-current/* URL
......................................................................


Set $wgULSFontRepositoryBasePath to a static-current/* URL

Serving fonts via MediaWiki-version-agnostic URLs will allow them to be cached
longer.

Change-Id: I5b58690e4732551ec091f5fc9c1f4c7e23b6d8a5
---
M wmf-config/CommonSettings.php
1 file changed, 4 insertions(+), 0 deletions(-)

Approvals:
  Reedy: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php
index a3a66b6..2fe63c8 100644
--- a/wmf-config/CommonSettings.php
+++ b/wmf-config/CommonSettings.php
@@ -2464,6 +2464,10 @@
                $wgULSNoImeSelectors[] = '.ace_editor textarea';
        }
 
+       // Fetch fonts from stable URLs so that they're cached longer.
+       $wgULSFontRepositoryBasePath = ( 
'https://bits.wikimedia.org/static-current/extensions'
+               . '/UniversalLanguageSelector/data/fontrepo/fonts/' );
+
        $wgULSEventLogging = $wmgULSEventLogging;
 }
 

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I5b58690e4732551ec091f5fc9c1f4c7e23b6d8a5
Gerrit-PatchSet: 2
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Ori.livneh <[email protected]>
Gerrit-Reviewer: Nikerabbit <[email protected]>
Gerrit-Reviewer: Ori.livneh <[email protected]>
Gerrit-Reviewer: Reedy <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to