While going through the OAuth extension codebase, I found tech debt worth cleaning up.
In T216089: Undeploy UserMerge Extension from WMF production, the UserMerge extension (which declared the MergeAccountFromTo hook) was undeployed. After the extension was undeployed, I think other WMF-deployed extensions that still reference that hook: https://codesearch.wmcloud.org/deployed/?q=MergeAccountFromTo should be cleaned up? Do the hook handlers actually do anything now that the hook is no longer available and a matching hook is not available in MW core?
Also, surveying callers, it seems other extensions still use the former namespace (use MediaWiki\Extension\UserMerge\Hooks\MergeAccountFromToHook;) where this used to exist in the extension, which is now no longer in production (at the very least).
It seems like we don't have a huge list:
- Echo
- FlaggedRevs
- Flow (may not be worth it since this is also going away soon?)
- OAuth
- Translate