Last modified: 2007-05-21 05:26:04 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 9121 - include index for arrays in JSON output
include index for arrays in JSON output
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
PC Linux
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2007-02-27 22:25 UTC by Carl Fürstenberg
Modified: 2007-05-21 05:26 UTC (History)
1 user (show)

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


Description Carl Fürstenberg 2007-02-27 22:25:17 UTC
as it is now, when specifying JSON output, it will for arrays generate "hashes",
but the keys for those entries, are only to be found inside actual object (like
pageid for example). I propose when specifying JSON output, for all arrays, add
a index array for all those keys ('index': [ ... ],).
Comment 1 Yuri Astrakhan 2007-05-19 04:30:32 UTC
I am not sure I understood. Can you give an example?
Comment 2 Yuri Astrakhan 2007-05-21 05:26:04 UTC
* added query parameter indexpageids to list the page ids of all returned page items (bug 9121)


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