Last modified: 2007-05-21 05:26:04 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 T11121, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 9121 - include index for arrays in JSON output
include index for arrays in JSON output
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.9.x
PC Linux
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/w/api.php?act...
:
Depends on:
Blocks:
  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: ---


Attachments

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)

r22294

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


Navigation
Links