Bug ID: 63310
           Summary: Callers of ResourceLoader::getModule should check for
                    null return values
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: ResourceLoader
       Web browser: ---
   Mobile Platform: ---

As a rule, callers of ResourceLoader::getModule() in
includes/resourceloader/ResourceLoader.php do not guard against a null return
value, and simply assume it is a ResourceLoaderModule object.

Exceptions on attempts to call methods on non-objects are the current
(superficial) cause of missing CSS / JS on
<>. The deeper cause is probably
that and share the same
DB but load a different set of extensions. Regardless, if it is possible for
ResourceLoader::getModule to return null, callers should check for it and react

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

Reply via email to