Background
Special:GlobalContributions checks permissions at external wikis, since T356294: Restrict which groups have access to Special:GlobalContributions.
It does this by making API calls to the other wikis, since there is no better way yet to check cross-wiki permissions. This is not ideal, because:
- Making API calls is slow, so it increases page load time
- API calls may fail (in which case we just assume they don't have the permissions)
Although we can't improve on this yet, we should make it clear that this is a hack.
Acceptance criteria
- Add comments in the code that make it clear that using the API calls is a hack and not ideal.
- File a task to make platform improvements in cross-wiki permission checking, and cite that task in the comments.