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

       Web browser: ---
             Bug #: 39439
           Summary: Modules sometimes load in the wrong order
           Product: MediaWiki extensions
           Version: master
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: javascript
          Severity: normal
          Priority: Unprioritized
         Component: EtherEditor
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---


This one is an oldie, but a baddie.

WikiEditor may or may not load in the correct order, but we don't know. And we
need it for setting up the interface, because we work with it if it's loaded.

So the task is this: Investigate how mw.loader.using and its ilk actually
function, and either

1. Continue using them, but maybe add in an extra check.

2. Stop using them, or use them in a different way, but also add in a check
based on DOM events or something.

3. Stop using them, and add an event into the WikiEditor code, and make sure we
use that to fire the relevant callbacks.

There's clearly a lot to do here. But do it.

Krinkle, I'm CCing you because you had some thoughts about it initially, and I
know you don't know much about EE right now, but basically the above is an
accurate description of what happens.

Past patchset is at https://gerrit.wikimedia.org/r/#/c/17625/ and the patchset
before that was https://gerrit.wikimedia.org/r/#/c/16151/

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
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