Ori.livneh has uploaded a new change for review.
https://gerrit.wikimedia.org/r/90382
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(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config
refs/changes/82/90382/1
diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php
index 647400e..81ba830 100644
--- a/wmf-config/CommonSettings.php
+++ b/wmf-config/CommonSettings.php
@@ -2465,6 +2465,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: newchange
Gerrit-Change-Id: I5b58690e4732551ec091f5fc9c1f4c7e23b6d8a5
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Ori.livneh <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits