Hello,
Using the API, what is the best way to determine whether the current user can edit a specified page? I could use:
?action=query&prop=info&intoken=edit&titles={title}
to detect an "Action 'edit' is not allowed for the current user" warning, but this doesn't account for users with edit rights who attempt to edit a protected page.
Thanks, Jim