MediaWiki:Apihelp-query+gadgetcategories-description/en

Returns a list of gadget categories.