Last modified: 2012-05-03 02:42:47 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T36604, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 34604 - [mw.config] wgActionPaths should be an object instead of a numeral array JavaScript
[mw.config] wgActionPaths should be an object instead of a numeral array Java...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
JavaScript (Other open bugs)
unspecified
All All
: Normal minor (vote)
: 1.19.0 release
Assigned To: Krinkle
:
Depends on:
Blocks: 31217
  Show dependency treegraph
 
Reported: 2012-02-23 02:42 UTC by Krinkle
Modified: 2012-05-03 02:42 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Krinkle 2012-02-23 02:42:48 UTC
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.
Comment 1 Rob Lanphier 2012-02-24 16:00:20 UTC
Is this something we need to get fixed as part of our 1.19 deploy cleanup?
Comment 2 Krinkle 2012-02-28 19:12:07 UTC
r112184

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links