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.
Version: unspecified
Severity: minor