Page MenuHomePhabricator

Dynamic fonts support in mobile frontend extension
Closed, DeclinedPublic

Description

This request is a spin-off of Bug 2361 focusing on dynamic font support in the mobile gateway.

Reasoning:

  • Fonts supported in mobile devices & mobile browsers may be limited to the languages official in the country/region where a device is sold, and even then minority languages / scripts may be left unsupported.
  • Installing fonts in mobile devices can be tricky or impossible as you go to lower price points - which happens to be the price range of many speakers of non-Latin scripts in Eastern Europe, Asia and Africa.
  • Mobile browsers are getting smarter with wider Unicode and webfont support, and this seems to be the best way to offer at least the possibility to read Wikimedia content in all languages.

PS: we are trying to track the support level of different languages in different mobile browsers at http://meta.wikimedia.org/wiki/Mobile_Projects/Language_support#Language_support_table - feel free adding / editing any new data there. Thanks!


Version: unspecified
Severity: enhancement

Details

Reference
bz28515

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:25 PM
bzimport set Reference to bz28515.
bzimport added a subscriber: Unknown Object (MLST).
  • Bug 33648 has been marked as a duplicate of this bug. ***

I believe this is dependant on bug 31675 which when fixed allows the addition of WebFonts via javascript.

What is the current state of this? Now we have RL can we do something about this at least in beta/alpha?

In theory we should be able to pull stuff in with RL, but we may have to redo the frontend control widgets (separate 'mobile' and 'desktop' modules).

This should totally be possible now as targeted ResourceLoader support is now fully available on mobile. This is simply a case of setting targets => 'mobile' in the relevant modules (and all the testing that goes with it)

Anyone in the WebFonts extension development team want to help make this work on mobile?

I'd suspect we'd only want to register the module for specific wiki language projects that need it.

Language team has decided to stop expanding the webfonts feature of ULS because there isn't resources to even maintain it adequately.