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

       Web browser: ---
            Bug ID: 55553
           Summary: mediawiki.inspect returns incorrect values in debug
                    mode
           Product: MediaWiki
           Version: 1.22-git
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: ResourceLoader
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: mflasc...@wikimedia.org
                CC: krinklem...@gmail.com, roan.katt...@gmail.com,
                    tpars...@wikimedia.org
    Classification: Unclassified
   Mobile Platform: ---

It does check if it's a real function/CSS info before adding to the total, but
if it's not, it just returns 0.  It should verify that:

1. module.script is not an array (that means it's an array of URLs)
2. module.style.url is not set.

If either is, it should return null.

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to