https://bugzilla.wikimedia.org/show_bug.cgi?id=47296
--- Comment #3 from Jon <jrob...@wikimedia.org> --- Well it's more a historic problem. If a module has been added via out->addModules previously requesting a module vs mw.loader.using was unlikely to throw an exception. Now with the targets property this becomes more muddled.. a module may or may not be there - it's at the mercy of the current target. My suggestion is to alter the implementation mw.loader.using so instead of throwing an error it accepts an error callback or even better is rewritten to return a deferred object. It should be up to the developer to throw an exception. -- 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l