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

       Web browser: ---
            Bug ID: 45299
           Summary: Standardize page-loaded event across stable/beta/alpha
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: MobileFrontend
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---

We need a standard event which is fired in every mode (stable/beta/alpha) when
a page is ready for modules to bind to. Right now we have:

M.on( 'page-loaded', ... );
$( ... );
M.define( 'module', {
  init: ...
} ); // and mwMobileFrontendConfig.settings.initOnDefine

We should probably just leave the first one and make it consistent in every
mode.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to