Tracking task for fixing all of the extensions that still use Revision objects and related methods and hooks, to ease review
See https://www.mediawiki.org/wiki/Manual:Revision.php/Migration for a migration guide
See T246284: Hard deprecate the Revision class and subtasks for the hard deprecation and how uses were replaced in deployed extensions