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

           Summary: Typo in mediawiki.js
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: trivial
          Priority: Normal
         Component: Resource Loader
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


The input validating of mw.loader.load (line 995) makes no sense.

> 996   // Validate input
> 997   if ( typeof modules !== 'object' && typeof modules !== 'string' ) {
> 998           throw new Error( 'dependencies must be a string or an array, 
> not a ' +
> 999           typeof dependencies )
> 1000  }

I'd guess it should be "modules" instead of "dependencies".

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to