https://bugzilla.wikimedia.org/show_bug.cgi?id=51102

--- Comment #3 from Michael M. <[email protected]> ---
Well, the main reason why I opened this bug, was because I want to disable web
fonts for the languages where I have a font installed, as otherwise the
characters from other languages are invisible for a short time (time between
the font is set and downloaded). On long pages like [[de:Deutschland]] this may
take some seconds (look at the interlanguage links, some of them will disappear
and re-appear). But I agree with you that adding more complex options for all
users isn't a good solution, too.

IMHO this bug can be closed if you provide a documentation for advanced users
about how to use the JavaScript methods, either to write a user script/gadget
or to set fonts via a JavaScript console. I just used

mw.loader.using('ext.uls.webfonts', function () {
  mw.webfonts.preferences.load();
  mw.webfonts.preferences.setFont('bpy', 'system');
  mw.webfonts.preferences.save();
});

but I'm not sure whether this is the right way to do it.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to