Title::quickUserCan, Title::userCan, and Title::getUserPermissionsErrors refer to $wgUser. They were soft deprecated in 1.33, and should be hard deprecated instead of just replacing $wgUser with RequestContext::getMain()->getUser() (it doesn't make sense to deprecate not passing a user, where the entire function is already deprecated)
The first two have the same function name as their replacement, so calls need to be checked manually.
See subtasks for each method:
- T244923: Hard deprecate Title::userCan - patches pending for all deployed extensions
- T244927: Hard deprecate Title::quickUserCan - All deployed extensions have had uses removed on master, once confirmed to work in 1.35.0-wmf.20 hard deprecation can proceed
- T244929: Hard deprecate Title::getUserPermissionsErrors - All deployed extensions have had uses removed on master, once confirmed to work in 1.35.0-wmf.20 hard deprecation can proceed