Page MenuHomePhabricator

[mw.config] wgActionPaths should be an object instead of a numeral array JavaScript
Closed, ResolvedPublic

Description

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

Details

Reference
bz34604

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 12:18 AM
bzimport set Reference to bz34604.

Is this something we need to get fixed as part of our 1.19 deploy cleanup?