On Jun 16, 2015 4:36 PM, "Brad Jorsch (Anomie)" bjorsch@wikimedia.org wrote:
Note that formatversion=2 is still considered slightly experimental, in
that backwards-incompatible changes like this can still happen. If you see any other changes like this that should be made, please report them!
Starting in 1.26wmf11, the following changes will be made in the output
from meta=siteinfo when formatversion=2 is in use:
Output from siprop=namespaces will be an array, rather than an object
indexed by namespace number. See T102645.[1]
After further discussion on the task, this part of the change was undone.
The other parts of the change (quoted below) are still in effect.
The 'add', 'remove', 'add-self', and 'remove-self' subarrays in
siprop=usergroups will always be arrays, never objects with numeric keys.
The (sub)arrays in the output from siprops restrictions, extensiontags,
functionhooks, variables, protocols, and showhooks are now guaranteed to be arrays. Getting objects with numeric keys from these seems to have been unlikely or impossible anyway, but now it's guaranteed.
-- Brad Jorsch (Anomie) Software Engineer Wikimedia Foundation