On Saturday, October 12, 2013, Dan Andreescu wrote:

> I know close to nothing about this, but I'm kind of interested in finding
> out.  Would it be possible to $('little language toothed wheel
> thing').on('click', load something like jquery.uls.data)?  That would
> already be 37.13KB.
>

For the functions that are required only after a user interaction, like
click ULS already lazy load scripts. One thing to note here is language
selection one of the features of ULS. ULS avoids tofu(small boxes because
of missing font) in the content presented through wiki pages, and that is
an onload activity, without user interaction.  That contributes the script
size. But any help in reducing the script size is always welcome.

Thanks
Santhosh
_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to