ApiQuerySiteinfo: Add prop=restrictions for protection information
authorBartosz Dziewoński <matma.rex@gmail.com>
Thu, 6 Feb 2014 15:30:00 +0000 (16:30 +0100)
committerBartosz Dziewoński <matma.rex@gmail.com>
Thu, 6 Feb 2014 15:51:37 +0000 (16:51 +0100)
commitb73b5883d486db0e9278ef16733551f28d9e096d
tree108824acbc3cfa304246730ec6e928f9147069b9
parent0f0b88c5b38b515c3beca380b5eb8a55cf96ea3b
ApiQuerySiteinfo: Add prop=restrictions for protection information

As pointed out on VPT, we previously had no way to find out about these.

This just dumps the raw config variables for now. They are documented
in DefaultSettings as having some magic applied to them when used,
maybe we should apply this magic here too, or in Setup.php?

https://en.wikipedia.org/w/index.php?title=Wikipedia:Village_pump_(technical)&oldid=594218538#API_query_to_list_available_protection_levels_for_a_wiki.3F

Change-Id: I4c1303f2a6fe6b60b44e960cc1253c555fc658dc
RELEASE-NOTES-1.23
includes/api/ApiQuerySiteinfo.php