https://bugzilla.wikimedia.org/show_bug.cgi?id=13209





--- Comment #27 from Roan Kattouw <[email protected]>  2009-01-13 17:03:20 
UTC ---
(In reply to comment #25)
> (In reply to comment #20)
> > * the revisions array in the output now uses revids rather than 0,1,2... as
> > keys (technically a breaking change, although sane clients won't even 
> > notice)
> > 
> To be honest, this would break almost all of my scripts, as this changes the
> json output from an array of revisions ([...]) to an object ({...}). If you
> still want to do this, please consider adding some parameter like &indexrevids
> like you did for the pageids.
> 

Sure.

Does this mean you can't iterate over an object in JavaScript in a sane fashion
(i.e. without knowing the keys beforehand)? Isn't there something like a
foreach statement?


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to