MediaWiki:Apihelp-query+info-param-testactions

Test whether the current user can perform certain actions on the page.