As part of T344694: [IP Masking] Alert temporary accounts 10 days before expiration, UserRegistrationLookup and LocalUserRegistrationProvider classes were added into MediaWiki Core (in order to allow for multiple registration sources). However, the main registration lookup still happens in the mega User object. In this task, we should:
- Move registration loading to LocalUserRegistrationProvider and soft-deprecate User::getRegistration
- Replace usages of User::getRegistration
- Hard-deprecate User::getRegistration in favour of UserRegistrationLookup
- (Eventually) remove User::getRegistration