Summary
Special:GlobalContributions is very slow to render when looking up a target that has edited a high number of wikis.
Background
- Special:GlobalContributions currently needs to determine the requesting user's permissions on every wiki the target ever edited to determine their permissions on each of those wikis and thus exclude wikis from querying where the requesting user doesn't have the requisite permissions.
- In extreme cases such as https://performance.wikimedia.org/excimer/profile/71633bac6e551f3d, this can take almost half a minute to complete.
Technical notes
Acceptance criteria
- GlobalContributions performs better even for targets that edited many wikis (TBD: define explicit upper bound for acceptable response time)
