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

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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...
Product: MediaWiki
Classification: Unclassified
JavaScript (Other open bugs)
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: ---


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

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