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

       Web browser: ---
             Bug #: 34604
           Summary: [mw.config] wgActionPaths should be an object instead
                    of a numeral array JavaScript
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: Unprioritized
         Component: Javascript
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: krinklem...@gmail.com
                CC: krinklem...@gmail.com, tpars...@wikimedia.org
    Classification: Unclassified
   Mobile Platform: ---


PHP's associative arrays (such as $wgActionPaths) convert to objects in
JavaScript. However when they're empty, the JS encoding method has no way of
knowing it's an associative array and returns [] (numeral array) instead.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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