User story
As a user,
When I have global rollback rights, which come with noratelimit rights globally[1]
And I want to perform an action that is normally rate limited,
And I do not want to exceed the ratelimits that would apply, if I did not have noratelimit rights[2]
I want to be able to check what the ratelimits would be
Details
Yes, rate limits can be calculated manually be looking through each extension's default configuration, then the WMF configuration (common settings and local), then the relevant user groups, but it would be more straightforward, and more helpful, if this was added as an option to the userinfo api.
https://en.wikipedia.org/w/api.php?action=query&meta=userinfo&uiprop=ratelimits shows the user's rate limits, and for those with noratelimit rights, just shows "ratelimits": {}
I propose adding another accepted value to uiprop, theoreticalratelimits[3], to show what ratelimits would be if they applied to the user
[1] https://meta.wikimedia.org/wiki/Special:GlobalGroupPermissions/global-rollbacker
[2] Eg, on enwiki, per https://en.wikipedia.org/wiki/Wikipedia:Global_rights_policy#Global_rollbackers global rollbackers should only use noratelimit "in the context of counter-vandalism efforts (unless they hold such rights separately in a usergroup permitting local use for other reasons)"
[3] Name up for discussion