Hallo,
Several updates were made recently in the UniversalLanguageSelector extension to improve its performance. This means that if you use any of the ULS facilities in your extensions or gadgets, such as web fonts, IMEs, language data functions like getDir and getAutonym, etc., you need to ensure that the modules you need are loaded before you use their functions.
We wrote some documentation that explains how to do the fixes: https://www.mediawiki.org/wiki/Universal_Language_Selector/Developing_with_U...
We are aware of ULS usage in Wikibase and VisualEditor, and we could use assistance from the Wikidata and VE developers in discussing, reviewing and testing the changes. It is also used in the Translate and TwnMainPage extensions, which we have fixed ourselves.
Particularly important updates are: * https://gerrit.wikimedia.org/r/#/c/93926 , which makes the extension lazy-load some of its functional ResourceLoader modules to make the initial page loading lighter. * https://gerrit.wikimedia.org/r/#/c/94116 , which lazy-loads the uls.data module - language info database and related functions.
Please contact us here or on IRC ( #mediawiki, #mediawiki-i18n ) if you have any questions.
Thanks!
-- Amir Elisha Aharoni · אָמִיר אֱלִישָׁע אַהֲרוֹנִי http://aharoni.wordpress.com “We're living in pieces, I want to live in peace.” – T. Moore
Amir E. Aharoni wrote:
Several updates were made recently in the UniversalLanguageSelector extension to improve its performance.
Fantastic! :-) Thank you for all of the work you and others have done to address this.
As the MediaWiki platform continues to grow in complexity, it'll be useful to have concrete ways in which to measure both server-side and client-side performance and changes in performance. I'm hoping we'll see a lot of improvement in this area in 2014.
We wrote some documentation that explains how to do the fixes: https://www.mediawiki.org/wiki/ULS/DEV
And thank you for this as well.
MZMcBride
On Tue, Nov 12, 2013 at 5:47 AM, MZMcBride z@mzmcbride.com wrote:
Amir E. Aharoni wrote:
Several updates were made recently in the UniversalLanguageSelector extension to improve its performance.
Fantastic! :-) Thank you for all of the work you and others have done to address this.
Seconded. Thank you very much for making this a priority.
wikitech-l@lists.wikimedia.org