Jim R. Wilson schreef:
I'm also thinking of the case where someone misspells a param and they can't figure out why the darned thing isn't returning anything for "iprop" (banging head on keyboard all the while)
But hey - that's just my $0.02 - do as you like :)
-- Jim
That's not handled right now. Rather than parsing the parameters one by one, the API checks for parameters when it needs them. If it needs inprop, it'll look for inprop, not find it, and use the default. iprop will just be ignored as no one will ever query it. Stuff like inprop=tokn will throw the warning "unrecognized value for 'inprop': token", though. For more details, see the post on mediawiki-api I'll make in about 5 minutes.
Roan Kattouw (Catrope)