Page MenuHomePhabricator

Web font libraries pulled into mobile beta, visibly changes the fonts
Closed, ResolvedPublic

Description

Visit https://en.m.wikipedia.org/wiki/Henry_Miller?mobileaction=beta
and you'll notice the heading visibly changes font.
This seems to only happen in beta and seems to be the unexpected side effect of pulling in ext.uls.webfonts.mobile (and jquery.webfonts)

I'm not sure why this is loading in beta but I'm concerned about this making it to the stable site, especially given the size of these modules. I can understand it being loaded conditionally in certain circumstances but just to support the Linux Libertine font seems a huge trade-off I'm not willing to encourage.

Event Timeline

Jdlrobson raised the priority of this task from to Needs Triage.
Jdlrobson updated the task description. (Show Details)
Jdlrobson subscribed.
ori triaged this task as High priority.Sep 28 2015, 6:07 PM
ori edited projects, added Language-Team; removed Performance-Team.
ori set Security to None.

Change 242060 had a related patch set uploaded (by Santhosh):
Set default value of ULSMobileWebfontsEnabled to false

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

Change 242060 merged by jenkins-bot:
Set default value of ULSMobileWebfontsEnabled to false

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

Checked on en.m.wikipedia.beta.wmflabs for the same page. Fonts do not change like earlier.

Thanks guys for the speedy fix!
Out of interest are there any plans to make wgULSMobileWebfontsEnabled and loaded by default? If so, under what circumstances?