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

--- Comment #16 from Bartosz DziewoƄski <[email protected]> ---
(In reply to comment #15)
> Are you able of providing more information, Bartosz? I don't know how to look
> into this.

Grep the mediawiki/extensions/UniversalLanguageSelector repository "async:
false". The offending file is lib/jquery.i18n.js, in particular these lines:

        jsonMessageLoader: function ( url ) {
            var that = this;
            return $.ajax( {
                url: url,
                dataType: "json",
                async: false
            // that is unfortunate
            } ).fail( function ( jqxhr, settings, exception ) {
                that.log( "Error in loading messages from " + url + "
Exception: " + exception );
            } );
        },

Make it load it asynchronously. Depending on how badly the rest of the code is
written, this might require just changing 'false' to 'true' or rewriting half
of the library. It's a nasty issue anyway that should have been avoided from
the start instead of fixed now and I'm not going to dig into it for my own
sanity. Sadly you guys are paid for this and this is your duty, so you have to.
Good luck.

-- 
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