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

       Web browser: ---
            Bug ID: 55550
           Summary: Reduce amount of code loaded in MwEmbedSupport startup
                    modules
           Product: MediaWiki extensions
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: TimedMediaHandler
          Assignee: md...@wikimedia.org
          Reporter: mflasc...@wikimedia.org
                CC: bawolff...@gmail.com, fflo...@wikimedia.org,
                    jger...@wikimedia.org, mtrac...@member.fsf.org
    Classification: Unclassified
   Mobile Platform: ---

Whenever possible, modules should be loaded on demand (e.g. specific pages, or
in response to a user action), not in startup.  If startup modules are needed,
they should be as svelte as possible.

MwEmbedSupport.hooks.php adds five, some of which have their own dependencies:
https://git.wikimedia.org/blob/mediawiki%2Fextensions%2FMwEmbedSupport.git/45a59b6ee3b9de6dc764cbd3fd6c9d7b3139718b/MwEmbedSupport.hooks.php#L28

-- 
You are receiving this mail because:
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

Reply via email to