MediaWiki:Apihelp-query+siteinfo-paramvalue-prop-variables/en

Returns a list of variable IDs.