2009/7/25 Roan Kattouw roan.kattouw@gmail.com:
2009/7/25 Brianna Laugher brianna.laugher@gmail.com:
OK... so, like api.php?action=query&meta=configsettings&csprop=rcmaxage ? And then add other csprop values as relevant?
What I really meant was making it another siprop, as in:
api.php?action=query&meta=siteinfo&siprop=configsettings&sisettings=foo|bar
Is there something else in the API that has works in a similar fashion? To my thinking this is another level of nesting. I don't know PHP well enough to write it from scratch, but if I can see something that has basically the same structure I can adapt it.
... or maybe it should work similar to api.php?action=query&meta=siteinfo&siprop=statistics - you just get everything back and then figure out yourself which ones you're interested in? After all for config variables, they're not going to be costly to calculcate, so you could just as well put everything every time.
Brianna