I don't believe this is an actual hook, and may have instead have been a typo and thus dead code.
The only extension that has subscribed to this hook, according to Codesearch, is CentralAuth, originally in gerrit:61912; however, there is no actual hook named "UserInvalidateEmailComplete" in MediaWiki core, at least as in master.
I tried going back all the way to the 1.23 branch, as the time this version of MediaWiki was developed was about the same time the patch was created (earliest branch possible, REL1_23
). I could only find the InvalidateEmailComplete
hook on https://github.com/wikimedia/mediawiki/blob/REL1_23/includes/User.php#L3998.
Does anyone suspect the same? Should this be put up for deletion? And if need be, I can write up a phab ticket too.