I'm creating a .Net library to access the API, but I'm not sure how to
approach selecting what properties should the result have.
For example, when the user wants to access “info” of some page, I want
to offer him all the available properties. And if he selects “length”
and “fullurl”, I should form URL like
The “length” property is included by default, and “fullurl” is added
I can get most other information about the structure of the API by
using “action=paraminfo”, but information about what result properties
are available and how they correspond to the prop values seems to be
Is this information available somewhere? Is trying the query and
seeing what properties are returned the best I can do currently? Do
you think it would be a good idea if I (or someone else) modified
“action=paraminfo” to include this information in some form?
I'm just updating one of my extensions for MW 1.18 and one limitation I am
coming across is that it doesn't seem possible for a normal user to mark edits
as 'bot', even when those edits are being performed on the user's behalf in a
As my extension allows normal users to perform large numbers of edits in bulk,
it would be nice if the edits could be marked bot, even when the user
performing them is not considered a bot.
Is there a way to do this when using the API to perform edits within an
extension? Or would it be better to dispense with the API and call the
various functions manually?
I was originally using the FauxRequest class for this, but with 1.18 I had to
change it to DerivativeRequest (in order for it to accept the edit token) if