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] - 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.
[1]: https://phabricator.wikimedia.org/T102645
On Tue, Jun 16, 2015 at 4:36 PM, Brad Jorsch (Anomie) <bjorsch@wikimedia.org
wrote:
Output from siprop=namespaces will be an array, rather than an object indexed by namespace number. See T102645.[1]
Some have objected to this part of the change. If you have an opinion, please join the discussion in Phabricator.
On Tue, Jun 16, 2015 at 1: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]
This was reverted in https://gerrit.wikimedia.org/r/#/c/219514/ . The output of siprop=namespaces will not change in 1.26wmf11.
_______________________________________________ Mediawiki-api-announce mailing list Mediawiki-api-announce@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce
On Jun 22, 2015 3:04 PM, "Roan Kattouw" roan.kattouw@gmail.com wrote:
On Tue, Jun 16, 2015 at 1: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]
This was reverted in https://gerrit.wikimedia.org/r/#/c/219514/ . The
output of siprop=namespaces will not change in 1.26wmf11.
For clarity, the quoted item was undone. The other changes from the original message are still in effect.
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
_______________________________________________ Mediawiki-api-announce mailing list Mediawiki-api-announce@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce
mediawiki-api@lists.wikimedia.org