https://bugzilla.wikimedia.org/show_bug.cgi?id=27023
Summary: once dom ready mediawiki.loader.using issues callback
before modules are ready
Product: MediaWiki
Version: wikimedia-deployment
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: Normal
Component: Resource Loader
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Once the document is ready the resource loader does script loading
asyncronusyly. The implement call seems to only work in syncronus mode.
In preparing for a patch ran into the following:
The is document ready flow is repeated twice it should be a local function.
Additionally their is shadow overcast scope of the "ready" variable with the
.using function can be fixed by renaming.
patch attached.
--
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