Page MenuHomePhabricator

Enable webfonts by default in UniversalLanguageSelector
Open, Needs TriagePublic

Event Timeline

Vladis13 created this task.Apr 11 2019, 6:30 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptApr 11 2019, 6:30 PM

Setting project to Wikimedia-Site-requests, as this request is about settings / configuration of a Wikimedia website.
There is nothing to change in the code base of the ULS software.

If you would like to write a software patch yourself, you will need to edit wmgULSWebfontsEnabled in https://phabricator.wikimedia.org/source/mediawiki-config/browse/master/wmf-config/InitialiseSettings.php and propose the patch in Gerrit.

I could, but unfortunately the login on Gerrit is broken. T220867

Change 509739 had a related patch set uploaded (by Vladis13; owner: Vladis13):
[operations/mediawiki-config@master] Enable webfonts for ru,uk,be of wiki,wikisource, and for sourceswiki

https://gerrit.wikimedia.org/r/509739

Enabling this in Wikisource seems ok, The webfonts feature when enabled by default in wikipedia, will cause large performance issues and this is the reason it is not enabled and left as a preference for user(See https://www.mediawiki.org/wiki/Universal_Language_Selector/WebFonts).

I don't think T156843: Adding fonts for Church Slavonic language in ULS is about wikipedia either. Correct me if I am wrong

How large performance issues can will? Will it a noticeable? From that link it not clear. AFAIU, the webfonts downloads once then caching for alltime.

How large performance issues can will? Will it a noticeable? From that link it not clear. AFAIU, the webfonts downloads once then caching for alltime.

It has noticeable impact for users as well as WMF servers(last time we had to an emergency removal of feature due to perfromance hit). Also, this feature did not get any modernization for many years(webfont technology advanced in last few years). It is not a priority project for the language team as of now.

I removed Wikipedia from the commit, remains only Wikisources there.