API: Add some BCarray into ApiQuerySiteinfo
authorBrad Jorsch <bjorsch@wikimedia.org>
Tue, 16 Jun 2015 16:55:11 +0000 (12:55 -0400)
committerBrad Jorsch <bjorsch@wikimedia.org>
Tue, 16 Jun 2015 16:55:11 +0000 (12:55 -0400)
commit295d35a9d40922bfc020d9e8374ca0eae69d8713
tree2b948d6e8eb2e7d7ac4d33d35365f4a05485ba75
parent094c11bf620f84a05c208b27e598cf8c56749026
API: Add some BCarray into ApiQuerySiteinfo

The main change is that siprop=namespaces will output an array instead
of a numerically-keyed object with formatversion=2.

Various other properties also got the same treatment, but in those cases
the intention was always array and possible non-array output was due to
array_unique or odd indexes in config variables.

Bug: T102645
Change-Id: I486131ac0d6763c3fe40fa45bcee472fe1b46fd6
RELEASE-NOTES-1.26
includes/api/ApiQuerySiteinfo.php