https://bugzilla.wikimedia.org/show_bug.cgi?id=45299
--- Comment #1 from Jon <[email protected]> --- Due to the way ResourceLoader works there is no way to trigger a page-loaded event on the first page. I thus suggest that * page-loaded event should only fire for lazy loaded page Therefore modules can either run (on initially loaded pages) or future loaded pages. * We should probably just run code for the intially loaded page. e.g. init(); Previously this created problems with tests which couldn't cope with modules self initialising (hence existence of mw.config.set( 'wgInitOnDefine', false ); ) but hopefully this is less of a problem now. -- 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
