Open main menu
Edit
MediaWiki:Apihelp-query+usercontribs-param-namespace
Only list contributions in these namespaces.